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": "1263ebff-41cc-4be9-a414-ae28874ceb16", "companyID": "02d11cf8-64d1-40a6-802c-8be3f15891bc", "countsAreID": "5d5c7b5f-01d5-47e8-988f-dfdfa5656213" }
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>02d11cf8-64d1-40a6-802c-8be3f15891bc</CompanyID> <CountsAreID>5d5c7b5f-01d5-47e8-988f-dfdfa5656213</CountsAreID> <PreviousAvailable>4.1</PreviousAvailable> <ProductID>1263ebff-41cc-4be9-a414-ae28874ceb16</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":"1263ebff-41cc-4be9-a414-ae28874ceb16","companyID":"02d11cf8-64d1-40a6-802c-8be3f15891bc","countsAreID":"5d5c7b5f-01d5-47e8-988f-dfdfa5656213"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.