POST api/BulkyBob/EditSlot

Request Information

URI Parameters

None.

Body Parameters

BobSlot
NameDescriptionTypeAdditional information
Id

integer

None.

RoundId

integer

None.

GuidId

globally unique identifier

None.

BookingRef

string

None.

status

CollectionStatus

None.

StatusId

integer

None.

BookingDate

date

None.

CancelledFlag

boolean

None.

CollectionPeriod

CollectionTime

None.

CollectionPeriodId

integer

None.

ResidentId

integer

None.

OutsideCollection

boolean

None.

CSACompleted

boolean

None.

NoteId

integer

None.

slotResident

BobResident

None.

SlotItems

Collection of BobItem

None.

SlotNotes

Collection of BobSlotNotes

None.

CreatedBy

string

None.

LastUpdatedBy

string

None.

RequestedText

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RoundId": 2,
  "GuidId": "77c94255-72d2-451b-ab9b-f9d367239db7",
  "BookingRef": "sample string 3",
  "status": 4,
  "StatusId": 4,
  "BookingDate": "2024-11-22T22:41:37.7231432+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": [
    {
      "Id": 1,
      "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
    },
    {
      "Id": 1,
      "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
    }
  ],
  "SlotNotes": [
    {
      "NoteId": 1,
      "SlotId": 2,
      "Note": "sample string 3",
      "DateCreated": "2024-11-22T22:41:37.7231432+00:00",
      "CreatedBy": "sample string 5"
    },
    {
      "NoteId": 1,
      "SlotId": 2,
      "Note": "sample string 3",
      "DateCreated": "2024-11-22T22:41:37.7231432+00:00",
      "CreatedBy": "sample string 5"
    }
  ],
  "CreatedBy": "sample string 10",
  "LastUpdatedBy": "sample string 11",
  "RequestedText": true
}

text/html

Sample:
{"Id":1,"RoundId":2,"GuidId":"77c94255-72d2-451b-ab9b-f9d367239db7","BookingRef":"sample string 3","status":4,"StatusId":4,"BookingDate":"2024-11-22T22:41:37.7231432+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":[{"Id":1,"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},{"Id":1,"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}],"SlotNotes":[{"NoteId":1,"SlotId":2,"Note":"sample string 3","DateCreated":"2024-11-22T22:41:37.7231432+00:00","CreatedBy":"sample string 5"},{"NoteId":1,"SlotId":2,"Note":"sample string 3","DateCreated":"2024-11-22T22:41:37.7231432+00:00","CreatedBy":"sample string 5"}],"CreatedBy":"sample string 10","LastUpdatedBy":"sample string 11","RequestedText":true}

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

IHttpActionResult

None.

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.