POST api/BulkyBob/CreateItem
Request Information
URI Parameters
None.
Body Parameters
BobItemName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
ItemSlot | BobSlot |
None. |
|
ItemItemDescription | BobItemTypeLookup |
None. |
|
category | ItemCategory |
None. |
|
Notes | string |
None. |
|
IsWorkingOrder | boolean |
None. |
|
CategoryId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "ItemSlot": { "Id": 1, "RoundId": 2, "GuidId": "70afbef4-f962-48f4-a4ce-2dac6d842b27", "BookingRef": "sample string 3", "status": 4, "StatusId": 4, "BookingDate": "2024-11-22T22:16:58.2485137+00:00", "CancelledFlag": true, "CollectionPeriod": 7, "CollectionPeriodId": 7, "ResidentId": 1, "OutsideCollection": true, "CSACompleted": true, "NoteId": 1, "slotResident": { "Id": 1, "ResidentName": "sample string 2", "Address1": "sample string 3", "Address2": "sample string 4", "Address3": "sample string 5", "Postcode": "sample string 6", "Telephone": "sample string 7", "Mobile": "sample string 8", "MediaContactAddress": "sample string 9", "contactMedia": 1, "contactMediaId": 1 }, "SlotItems": [], "SlotNotes": [ { "NoteId": 1, "SlotId": 2, "Note": "sample string 3", "DateCreated": "2024-11-22T22:16:58.2485137+00:00", "CreatedBy": "sample string 5" }, { "NoteId": 1, "SlotId": 2, "Note": "sample string 3", "DateCreated": "2024-11-22T22:16:58.2485137+00:00", "CreatedBy": "sample string 5" } ], "CreatedBy": "sample string 10", "LastUpdatedBy": "sample string 11", "RequestedText": true }, "ItemItemDescription": { "Id": 1, "category": 7, "ItemName": "sample string 2", "Description": "sample string 3", "CategoryName": "sample string 4", "IsVisible": true, "IsRequireWorkingOrder": true, "CategoryId": 7 }, "category": 4, "Notes": "sample string 2", "IsWorkingOrder": true, "CategoryId": 4 }
text/html
Sample:
{"Id":1,"ItemSlot":{"Id":1,"RoundId":2,"GuidId":"70afbef4-f962-48f4-a4ce-2dac6d842b27","BookingRef":"sample string 3","status":4,"StatusId":4,"BookingDate":"2024-11-22T22:16:58.2485137+00:00","CancelledFlag":true,"CollectionPeriod":7,"CollectionPeriodId":7,"ResidentId":1,"OutsideCollection":true,"CSACompleted":true,"NoteId":1,"slotResident":{"Id":1,"ResidentName":"sample string 2","Address1":"sample string 3","Address2":"sample string 4","Address3":"sample string 5","Postcode":"sample string 6","Telephone":"sample string 7","Mobile":"sample string 8","MediaContactAddress":"sample string 9","contactMedia":1,"contactMediaId":1},"SlotItems":[],"SlotNotes":[{"NoteId":1,"SlotId":2,"Note":"sample string 3","DateCreated":"2024-11-22T22:16:58.2485137+00:00","CreatedBy":"sample string 5"},{"NoteId":1,"SlotId":2,"Note":"sample string 3","DateCreated":"2024-11-22T22:16:58.2485137+00:00","CreatedBy":"sample string 5"}],"CreatedBy":"sample string 10","LastUpdatedBy":"sample string 11","RequestedText":true},"ItemItemDescription":{"Id":1,"category":7,"ItemName":"sample string 2","Description":"sample string 3","CategoryName":"sample string 4","IsVisible":true,"IsRequireWorkingOrder":true,"CategoryId":7},"category":4,"Notes":"sample string 2","IsWorkingOrder":true,"CategoryId":4}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.