POST api/InsertDailyThreadCuttingEntry
Request Information
URI Parameters
None.
Body Parameters
Collection of InsertDailyThreadCuttingEntryVM| Name | Description | Type | Additional information |
|---|---|---|---|
| WorkerId | integer |
None. |
|
| OrderId | integer |
None. |
|
| StyleId | integer |
None. |
|
| Quantity | decimal number |
None. |
|
| EntryUserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"WorkerId": 1,
"OrderId": 2,
"StyleId": 3,
"Quantity": 4.1,
"EntryUserId": 5
},
{
"WorkerId": 1,
"OrderId": 2,
"StyleId": 3,
"Quantity": 4.1,
"EntryUserId": 5
}
]
application/xml, text/xml
Sample:
<ArrayOfInsertDailyThreadCuttingEntryVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JCAppAPI.Models">
<InsertDailyThreadCuttingEntryVM>
<EntryUserId>5</EntryUserId>
<OrderId>2</OrderId>
<Quantity>4.1</Quantity>
<StyleId>3</StyleId>
<WorkerId>1</WorkerId>
</InsertDailyThreadCuttingEntryVM>
<InsertDailyThreadCuttingEntryVM>
<EntryUserId>5</EntryUserId>
<OrderId>2</OrderId>
<Quantity>4.1</Quantity>
<StyleId>3</StyleId>
<WorkerId>1</WorkerId>
</InsertDailyThreadCuttingEntryVM>
</ArrayOfInsertDailyThreadCuttingEntryVM>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
JsonResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status_Code | string |
None. |
|
| Status | string |
None. |
|
| Message | string |
None. |
|
| Error_Field | string |
None. |
|
| Api_Type | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status_Code": "sample string 1",
"Status": "sample string 2",
"Message": "sample string 3",
"Error_Field": "sample string 4",
"Api_Type": "sample string 5"
}
application/xml, text/xml
Sample:
<JsonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JCAppAPI.Models"> <Api_Type>sample string 5</Api_Type> <Error_Field>sample string 4</Error_Field> <Message>sample string 3</Message> <Status>sample string 2</Status> <Status_Code>sample string 1</Status_Code> </JsonResponse>