POST api/Tasks/UpdateTask
Request Information
URI Parameters
None.
Body Parameters
DriversNewTaskList| Name | Description | Type | Additional information |
|---|---|---|---|
| Taskid | integer |
None. |
|
| CustomerName | string |
None. |
|
| PickupAddress | string |
None. |
|
| DeliveryAddress | string |
None. |
|
| AssignedBy | string |
None. |
|
| DateAssigned | string |
None. |
|
| ContactPerson | string |
None. |
|
| MobileNo | string |
None. |
|
| TelephoneNo | string |
None. |
|
| EmailAddress | string |
None. |
|
| ItemProduct | string |
None. |
|
| DeliveryNote | string |
None. |
|
| TaskRefNo | string |
None. |
|
| DriverName | string |
None. |
|
| DriverID | integer |
None. |
|
| imgsignature | Collection of byte |
None. |
|
| imgphoto | Collection of byte |
None. |
|
| UserName | string |
None. |
|
| Password | string |
None. |
|
| TaskStatus | string |
None. |
|
| DeliveryDate | string |
None. |
|
| CustomerNotes | string |
None. |
|
| ReceivedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Taskid": 1,
"CustomerName": "sample string 2",
"PickupAddress": "sample string 3",
"DeliveryAddress": "sample string 4",
"AssignedBy": "sample string 5",
"DateAssigned": "sample string 6",
"ContactPerson": "sample string 7",
"MobileNo": "sample string 8",
"TelephoneNo": "sample string 9",
"EmailAddress": "sample string 10",
"ItemProduct": "sample string 11",
"DeliveryNote": "sample string 12",
"TaskRefNo": "sample string 13",
"DriverName": "sample string 14",
"DriverID": 15,
"imgsignature": "QEA=",
"imgphoto": "QEA=",
"UserName": "sample string 16",
"Password": "sample string 17",
"TaskStatus": "sample string 18",
"DeliveryDate": "sample string 19",
"CustomerNotes": "sample string 20",
"ReceivedBy": "sample string 21"
}
application/xml, text/xml
Sample:
<DriversNewTaskList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M_RBRWebService.Models"> <AssignedBy>sample string 5</AssignedBy> <ContactPerson>sample string 7</ContactPerson> <CustomerName>sample string 2</CustomerName> <CustomerNotes>sample string 20</CustomerNotes> <DateAssigned>sample string 6</DateAssigned> <DeliveryAddress>sample string 4</DeliveryAddress> <DeliveryDate>sample string 19</DeliveryDate> <DeliveryNote>sample string 12</DeliveryNote> <DriverID>15</DriverID> <DriverName>sample string 14</DriverName> <EmailAddress>sample string 10</EmailAddress> <ItemProduct>sample string 11</ItemProduct> <MobileNo>sample string 8</MobileNo> <Password>sample string 17</Password> <PickupAddress>sample string 3</PickupAddress> <ReceivedBy>sample string 21</ReceivedBy> <TaskRefNo>sample string 13</TaskRefNo> <TaskStatus>sample string 18</TaskStatus> <Taskid>1</Taskid> <TelephoneNo>sample string 9</TelephoneNo> <UserName>sample string 16</UserName> <imgphoto>QEA=</imgphoto> <imgsignature>QEA=</imgsignature> </DriversNewTaskList>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.