POST Api/RoutePointItem/Create
Request Information
URI Parameters
None.
Body Parameters
RoutePointItemViewModelName | Description | Type | Additional information |
---|---|---|---|
ClientID | globally unique identifier |
None. |
|
TaskID | globally unique identifier |
None. |
|
RoutePointID | globally unique identifier |
None. |
|
ItemName | string |
None. |
|
ID | globally unique identifier |
None. |
|
ItemCategoryID | globally unique identifier |
None. |
|
ItemCategoryName | string |
None. |
|
Qty | decimal number |
None. |
|
VatPer | decimal number |
None. |
|
Total | decimal number |
None. |
|
TemperatureSensor | string |
None. |
|
Note | string |
None. |
|
ImageURL | string |
None. |
|
ItemClassificationID | globally unique identifier |
None. |
|
ItemClassificationName | string |
None. |
|
Price | decimal number |
None. |
|
TemperatureSensorID | integer |
None. |
|
TemperatureSensorName | string |
None. |
|
TemperatureSensorValue | decimal number |
None. |
|
DeliveryRoutePointID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "ClientID": "4b823eda-725e-4e00-a448-8986dfc79300", "TaskID": "8830efc6-6f7d-4d3c-994c-2f66835783e3", "RoutePointID": "f89936bd-bf53-4a45-b7ea-39d3e1b4ebd9", "ItemName": "sample string 4", "ID": "7ce4e5c3-ec9b-4139-b4f3-95df1c4b6838", "ItemCategoryID": "ddf8cff7-c0a5-456e-8456-f24ae4cbd2b5", "ItemCategoryName": "sample string 7", "Qty": 8.1, "VatPer": 9.1, "Total": 10.1, "TemperatureSensor": "sample string 11", "Note": "sample string 12", "ImageURL": "sample string 13", "ItemClassificationID": "f0e9c01e-7287-47e6-ae1b-4be7983a281e", "ItemClassificationName": "sample string 15", "Price": 16.1, "TemperatureSensorID": 17, "TemperatureSensorName": "sample string 18", "TemperatureSensorValue": 19.1, "DeliveryRoutePointID": "8e68e227-98dd-46fd-aceb-0fb3e56a5076" }
application/xml, text/xml
Sample:
<RoutePointItemViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FleetrootDriver.Service.Models"> <ClientID>4b823eda-725e-4e00-a448-8986dfc79300</ClientID> <DeliveryRoutePointID>8e68e227-98dd-46fd-aceb-0fb3e56a5076</DeliveryRoutePointID> <ID>7ce4e5c3-ec9b-4139-b4f3-95df1c4b6838</ID> <ImageURL>sample string 13</ImageURL> <ItemCategoryID>ddf8cff7-c0a5-456e-8456-f24ae4cbd2b5</ItemCategoryID> <ItemCategoryName>sample string 7</ItemCategoryName> <ItemClassificationID>f0e9c01e-7287-47e6-ae1b-4be7983a281e</ItemClassificationID> <ItemClassificationName>sample string 15</ItemClassificationName> <ItemName>sample string 4</ItemName> <Note>sample string 12</Note> <Price>16.1</Price> <Qty>8.1</Qty> <RoutePointID>f89936bd-bf53-4a45-b7ea-39d3e1b4ebd9</RoutePointID> <TaskID>8830efc6-6f7d-4d3c-994c-2f66835783e3</TaskID> <TemperatureSensor>sample string 11</TemperatureSensor> <TemperatureSensorID>17</TemperatureSensorID> <TemperatureSensorName>sample string 18</TemperatureSensorName> <TemperatureSensorValue>19.1</TemperatureSensorValue> <Total>10.1</Total> <VatPer>9.1</VatPer> </RoutePointItemViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultName | Description | Type | Additional information |
---|---|---|---|
IsValid | boolean |
None. |
|
Message | Collection of string |
None. |
|
ResponseCodes | Collection of integer |
None. |
|
Id | globally unique identifier |
None. |
|
Value | string |
None. |
|
RecordOn | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsValid": true, "Message": [ "sample string 1", "sample string 2" ], "ResponseCodes": [ 1, 2 ], "Id": "737a1fbe-bb2f-4bf1-9864-9c9803f217f4", "Value": "sample string 3", "RecordOn": "2025-05-20T21:33:24.749928+04:00" }
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity"> <Id>737a1fbe-bb2f-4bf1-9864-9c9803f217f4</Id> <IsValid>true</IsValid> <Message xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Message> <RecordOn>2025-05-20T21:33:24.749928+04:00</RecordOn> <ResponseCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </ResponseCodes> <Value>sample string 3</Value> </Result>