POST api/BookingSystem/InsertDeliverCollectDetailsData

Request Information

URI Parameters

None.

Body Parameters

InsertCollectBookingDetails
NameDescriptionTypeAdditional information
BookingID

integer

None.

ODOMeter

string

None.

Fuel

string

None.

DamageDetected

string

None.

CollectOrDeliverType

string

None.

Attachment1

Collection of byte

None.

Attachment2

Collection of byte

None.

Attachment3

Collection of byte

None.

FileName1

string

None.

FileName2

string

None.

FileName3

string

None.

UserID

integer

None.

Token

string

None.

strCollectDesc

string

None.

DeliveryODOMeter

string

None.

DeliveryFuel

string

None.

DeliveryDamageDetected

string

None.

DeliveryCollectOrDeliverType

string

None.

DeliveryAttachment1

Collection of byte

None.

DeliveryAttachment2

Collection of byte

None.

DeliveryAttachment3

Collection of byte

None.

DeliveryFileName1

string

None.

DeliveryFileName2

string

None.

DeliveryFileName3

string

None.

DeliveryUserID

integer

None.

strDeliveryDesc

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BookingID": 1,
  "ODOMeter": "sample string 2",
  "Fuel": "sample string 3",
  "DamageDetected": "sample string 4",
  "CollectOrDeliverType": "sample string 5",
  "Attachment1": "QEA=",
  "Attachment2": "QEA=",
  "Attachment3": "QEA=",
  "FileName1": "sample string 6",
  "FileName2": "sample string 7",
  "FileName3": "sample string 8",
  "UserID": 9,
  "Token": "sample string 10",
  "strCollectDesc": "sample string 11",
  "DeliveryODOMeter": "sample string 12",
  "DeliveryFuel": "sample string 13",
  "DeliveryDamageDetected": "sample string 14",
  "DeliveryCollectOrDeliverType": "sample string 15",
  "DeliveryAttachment1": "QEA=",
  "DeliveryAttachment2": "QEA=",
  "DeliveryAttachment3": "QEA=",
  "DeliveryFileName1": "sample string 16",
  "DeliveryFileName2": "sample string 17",
  "DeliveryFileName3": "sample string 18",
  "DeliveryUserID": 19,
  "strDeliveryDesc": "sample string 20"
}

text/html

Sample:
{"BookingID":1,"ODOMeter":"sample string 2","Fuel":"sample string 3","DamageDetected":"sample string 4","CollectOrDeliverType":"sample string 5","Attachment1":"QEA=","Attachment2":"QEA=","Attachment3":"QEA=","FileName1":"sample string 6","FileName2":"sample string 7","FileName3":"sample string 8","UserID":9,"Token":"sample string 10","strCollectDesc":"sample string 11","DeliveryODOMeter":"sample string 12","DeliveryFuel":"sample string 13","DeliveryDamageDetected":"sample string 14","DeliveryCollectOrDeliverType":"sample string 15","DeliveryAttachment1":"QEA=","DeliveryAttachment2":"QEA=","DeliveryAttachment3":"QEA=","DeliveryFileName1":"sample string 16","DeliveryFileName2":"sample string 17","DeliveryFileName3":"sample string 18","DeliveryUserID":19,"strDeliveryDesc":"sample string 20"}

application/xml, text/xml

Sample:
<BookingSystemController.InsertCollectBookingDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <Attachment1>QEA=</Attachment1>
  <Attachment2>QEA=</Attachment2>
  <Attachment3>QEA=</Attachment3>
  <BookingID>1</BookingID>
  <CollectOrDeliverType>sample string 5</CollectOrDeliverType>
  <DamageDetected>sample string 4</DamageDetected>
  <DeliveryAttachment1>QEA=</DeliveryAttachment1>
  <DeliveryAttachment2>QEA=</DeliveryAttachment2>
  <DeliveryAttachment3>QEA=</DeliveryAttachment3>
  <DeliveryCollectOrDeliverType>sample string 15</DeliveryCollectOrDeliverType>
  <DeliveryDamageDetected>sample string 14</DeliveryDamageDetected>
  <DeliveryFileName1>sample string 16</DeliveryFileName1>
  <DeliveryFileName2>sample string 17</DeliveryFileName2>
  <DeliveryFileName3>sample string 18</DeliveryFileName3>
  <DeliveryFuel>sample string 13</DeliveryFuel>
  <DeliveryODOMeter>sample string 12</DeliveryODOMeter>
  <DeliveryUserID>19</DeliveryUserID>
  <FileName1>sample string 6</FileName1>
  <FileName2>sample string 7</FileName2>
  <FileName3>sample string 8</FileName3>
  <Fuel>sample string 3</Fuel>
  <ODOMeter>sample string 2</ODOMeter>
  <Token>sample string 10</Token>
  <UserID>9</UserID>
  <strCollectDesc>sample string 11</strCollectDesc>
  <strDeliveryDesc>sample string 20</strDeliveryDesc>
</BookingSystemController.InsertCollectBookingDetails>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InsertCollectBookingDetails'.

Response Information

Resource Description

Dictionary of Object [key] and Object [value]

Response Formats

application/json, text/json, text/html

Sample:
{"System.Object":{},"System.Object":{}}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
</ArrayOfKeyValueOfanyTypeanyType>