POST api/CountsAreDetail/Update
Request Information
URI Parameters
None.
Body Parameters
CountsAreDetailUpdateDtoName | Description | Type | Additional information |
---|---|---|---|
Quantity | decimal number |
None. |
|
UnitCost | decimal number |
None. |
|
TotalCost | decimal number |
None. |
|
PreviousAvailable | decimal number |
None. |
|
ProductID | globally unique identifier |
None. |
|
CountsAreID | globally unique identifier |
None. |
|
ID | globally unique identifier |
Required |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "quantity": 1.1, "unitCost": 2.1, "totalCost": 3.1, "previousAvailable": 4.1, "productID": "5178a92a-2471-4f58-b233-2d84ea44957a", "countsAreID": "aa1c94c9-0e33-4638-a83f-dfaf6fbf9b49", "id": "04cbe1a1-de13-4737-bfce-be9a80bc6e1a", "companyID": "2c49f6e9-4976-4abc-a596-67f2e82bef2c" }
application/xml, text/xml
Sample:
<CountsAreDetailUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>2c49f6e9-4976-4abc-a596-67f2e82bef2c</CompanyID> <ID>04cbe1a1-de13-4737-bfce-be9a80bc6e1a</ID> <CountsAreID>aa1c94c9-0e33-4638-a83f-dfaf6fbf9b49</CountsAreID> <PreviousAvailable>4.1</PreviousAvailable> <ProductID>5178a92a-2471-4f58-b233-2d84ea44957a</ProductID> <Quantity>1.1</Quantity> <TotalCost>3.1</TotalCost> <UnitCost>2.1</UnitCost> </CountsAreDetailUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"quantity":1.1,"unitCost":2.1,"totalCost":3.1,"previousAvailable":4.1,"productID":"5178a92a-2471-4f58-b233-2d84ea44957a","countsAreID":"aa1c94c9-0e33-4638-a83f-dfaf6fbf9b49","id":"04cbe1a1-de13-4737-bfce-be9a80bc6e1a","companyID":"2c49f6e9-4976-4abc-a596-67f2e82bef2c"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.