POST api/CountsAreDetail/Add
Request Information
URI Parameters
None.
Body Parameters
CountsAreDetailAddDtoName | 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. |
|
CompanyID | globally unique identifier |
None. |
|
CountsAreID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "quantity": 1.1, "unitCost": 2.1, "totalCost": 3.1, "previousAvailable": 4.1, "productID": "4f345954-8a14-4c21-b714-fdaff67bc03b", "companyID": "990c1276-8f9f-4f0c-8be7-f0f7f2f52708", "countsAreID": "5e50d630-6ae3-40cc-b611-02fc05a101a8" }
application/xml, text/xml
Sample:
<CountsAreDetailAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>990c1276-8f9f-4f0c-8be7-f0f7f2f52708</CompanyID> <CountsAreID>5e50d630-6ae3-40cc-b611-02fc05a101a8</CountsAreID> <PreviousAvailable>4.1</PreviousAvailable> <ProductID>4f345954-8a14-4c21-b714-fdaff67bc03b</ProductID> <Quantity>1.1</Quantity> <TotalCost>3.1</TotalCost> <UnitCost>2.1</UnitCost> </CountsAreDetailAddDto>
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":"4f345954-8a14-4c21-b714-fdaff67bc03b","companyID":"990c1276-8f9f-4f0c-8be7-f0f7f2f52708","countsAreID":"5e50d630-6ae3-40cc-b611-02fc05a101a8"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.