POST api/VANLoading/InsertUpdateDelete
Request Information
URI Parameters
None.
Body Parameters
VANLoadingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| VANLoadingId | string |
None. |
|
| No | string |
None. |
|
| EntryDate | string |
None. |
|
| DistributorId | integer |
None. |
|
| DistributorName | string |
None. |
|
| SalesExecutiveId | integer |
None. |
|
| SalesExecutiveName | string |
None. |
|
| BeatId | string |
None. |
|
| BeatCode | string |
None. |
|
| LocationId | integer |
None. |
|
| LocationName | string |
None. |
|
| Remarks | string |
None. |
|
| VehicleId | integer |
None. |
|
| VehicleName | string |
None. |
|
| IsActive | boolean |
None. |
|
| AutoCompleteRequest | boolean |
None. |
|
| FirstRec | integer |
None. |
|
| LastRec | integer |
None. |
|
| SortColumn | string |
None. |
|
| SortOrder | string |
None. |
|
| RequestType | integer |
None. |
|
| GridJson | string |
None. |
|
| Grid | VANLoadingProductGrid |
None. |
|
| VANType | string |
None. |
|
| TotalCashCollected | decimal number |
None. |
|
| TransportMode | string |
None. |
|
| TransportModeId | integer |
None. |
|
| PackingSlipNo | string |
None. |
|
| PackingSlipDate | string |
None. |
|
| GeoLocationLat | decimal number |
None. |
|
| GeoLocationLng | decimal number |
None. |
|
| GeoLocationDesc | string |
None. |
|
| Day | string |
None. |
|
| CalledFrom | string |
None. |
|
| RoleId | integer |
None. |
|
| Message | APIResponse |
None. |
|
| SecretKey | string |
None. |
|
| Token | string |
None. |
|
| EnterprisesCode | string |
None. |
|
| ModeluSelection | string |
None. |
|
| CallFrom | string |
None. |
|
| IsAllowedRequest | boolean |
None. |
|
| IsInMaintenance | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"VANLoadingId": "sample string 1",
"No": "sample string 2",
"EntryDate": "sample string 3",
"DistributorId": 4,
"DistributorName": "sample string 5",
"SalesExecutiveId": 6,
"SalesExecutiveName": "sample string 7",
"BeatId": "sample string 8",
"BeatCode": "sample string 9",
"LocationId": 10,
"LocationName": "sample string 11",
"Remarks": "sample string 12",
"VehicleId": 13,
"VehicleName": "sample string 14",
"IsActive": true,
"AutoCompleteRequest": true,
"FirstRec": 17,
"LastRec": 18,
"SortColumn": "sample string 19",
"SortOrder": "sample string 20",
"RequestType": 21,
"GridJson": "sample string 22",
"Grid": {
"VANLoadingProducts": [
{
"VANLoadingDetailId": "sample string 1",
"ProductId": 2,
"ProductName": "sample string 3",
"BatchNo": "sample string 4",
"BatchQty": 5.0,
"Qty": 6.0,
"UnitId": 7,
"UnitName": "sample string 8",
"PackSize": 9.0,
"PackSizeID": 10,
"PackSizeName": "sample string 11",
"PackTypesID": 12,
"PackTypesName": "sample string 13",
"Last3MonthSales": 14.0,
"BatchUnitId": 15,
"ProductTypeId": 16,
"PackUnitId": 17
},
{
"VANLoadingDetailId": "sample string 1",
"ProductId": 2,
"ProductName": "sample string 3",
"BatchNo": "sample string 4",
"BatchQty": 5.0,
"Qty": 6.0,
"UnitId": 7,
"UnitName": "sample string 8",
"PackSize": 9.0,
"PackSizeID": 10,
"PackSizeName": "sample string 11",
"PackTypesID": 12,
"PackTypesName": "sample string 13",
"Last3MonthSales": 14.0,
"BatchUnitId": 15,
"ProductTypeId": 16,
"PackUnitId": 17
}
]
},
"VANType": "sample string 23",
"TotalCashCollected": 24.0,
"TransportMode": "sample string 25",
"TransportModeId": 26,
"PackingSlipNo": "sample string 27",
"PackingSlipDate": "sample string 28",
"GeoLocationLat": 29.0,
"GeoLocationLng": 30.0,
"GeoLocationDesc": "sample string 31",
"Day": "sample string 32",
"CalledFrom": "sample string 33",
"RoleId": 34,
"Message": {
"ResponseCode": 1,
"ResponseMessage": "sample string 2"
},
"SecretKey": "sample string 35",
"Token": "sample string 36",
"EnterprisesCode": "sample string 37",
"ModeluSelection": "sample string 38",
"CallFrom": "sample string 39",
"IsAllowedRequest": true,
"IsInMaintenance": true
}
application/xml, text/xml
Sample:
<VANLoadingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZipDMSModels">
<CallFrom>sample string 39</CallFrom>
<EnterprisesCode>sample string 37</EnterprisesCode>
<IsAllowedRequest>true</IsAllowedRequest>
<IsInMaintenance>true</IsInMaintenance>
<Message>
<ResponseCode>1</ResponseCode>
<ResponseMessage>sample string 2</ResponseMessage>
</Message>
<ModeluSelection>sample string 38</ModeluSelection>
<SecretKey>sample string 35</SecretKey>
<Token>sample string 36</Token>
<AutoCompleteRequest>true</AutoCompleteRequest>
<BeatCode>sample string 9</BeatCode>
<BeatId>sample string 8</BeatId>
<CalledFrom>sample string 33</CalledFrom>
<Day>sample string 32</Day>
<DistributorId>4</DistributorId>
<DistributorName>sample string 5</DistributorName>
<EntryDate>sample string 3</EntryDate>
<FirstRec>17</FirstRec>
<GeoLocationDesc>sample string 31</GeoLocationDesc>
<GeoLocationLat>29</GeoLocationLat>
<GeoLocationLng>30</GeoLocationLng>
<Grid>
<VANLoadingProducts>
<VANLoadingProductRow>
<BatchNo>sample string 4</BatchNo>
<BatchQty>5</BatchQty>
<BatchUnitId>15</BatchUnitId>
<Last3MonthSales>14</Last3MonthSales>
<PackSize>9</PackSize>
<PackSizeID>10</PackSizeID>
<PackSizeName>sample string 11</PackSizeName>
<PackTypesID>12</PackTypesID>
<PackTypesName>sample string 13</PackTypesName>
<PackUnitId>17</PackUnitId>
<ProductId>2</ProductId>
<ProductName>sample string 3</ProductName>
<ProductTypeId>16</ProductTypeId>
<Qty>6</Qty>
<UnitId>7</UnitId>
<UnitName>sample string 8</UnitName>
<VANLoadingDetailId>sample string 1</VANLoadingDetailId>
</VANLoadingProductRow>
<VANLoadingProductRow>
<BatchNo>sample string 4</BatchNo>
<BatchQty>5</BatchQty>
<BatchUnitId>15</BatchUnitId>
<Last3MonthSales>14</Last3MonthSales>
<PackSize>9</PackSize>
<PackSizeID>10</PackSizeID>
<PackSizeName>sample string 11</PackSizeName>
<PackTypesID>12</PackTypesID>
<PackTypesName>sample string 13</PackTypesName>
<PackUnitId>17</PackUnitId>
<ProductId>2</ProductId>
<ProductName>sample string 3</ProductName>
<ProductTypeId>16</ProductTypeId>
<Qty>6</Qty>
<UnitId>7</UnitId>
<UnitName>sample string 8</UnitName>
<VANLoadingDetailId>sample string 1</VANLoadingDetailId>
</VANLoadingProductRow>
</VANLoadingProducts>
</Grid>
<GridJson>sample string 22</GridJson>
<IsActive>true</IsActive>
<LastRec>18</LastRec>
<LocationId>10</LocationId>
<LocationName>sample string 11</LocationName>
<No>sample string 2</No>
<PackingSlipDate>sample string 28</PackingSlipDate>
<PackingSlipNo>sample string 27</PackingSlipNo>
<Remarks>sample string 12</Remarks>
<RequestType>21</RequestType>
<RoleId>34</RoleId>
<SalesExecutiveId>6</SalesExecutiveId>
<SalesExecutiveName>sample string 7</SalesExecutiveName>
<SortColumn>sample string 19</SortColumn>
<SortOrder>sample string 20</SortOrder>
<TotalCashCollected>24</TotalCashCollected>
<TransportMode>sample string 25</TransportMode>
<TransportModeId>26</TransportModeId>
<VANLoadingId>sample string 1</VANLoadingId>
<VANType>sample string 23</VANType>
<VehicleId>13</VehicleId>
<VehicleName>sample string 14</VehicleName>
</VANLoadingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |