POST api/InvCountings/PostInvCounting
Request Information
URI Parameters
None.
Body Parameters
InventoryCounting2| Name | Description | Type | Additional information |
|---|---|---|---|
| ParametersForQuery | Collection of Parameter |
None. |
|
| Id | integer |
None. |
|
| Name | string |
String length: inclusive between 0 and 50 |
|
| Description | string |
String length: inclusive between 0 and 250 |
|
| Comments | string |
String length: inclusive between 0 and 250 |
|
| Status | integer |
None. |
|
| CreateDate | date |
None. |
|
| CompleteDate | date |
None. |
|
| Deadline | date |
None. |
|
| QueryId | integer |
None. |
|
| UserMappId | integer |
None. |
|
| WhCode | string |
None. |
|
| ClosingComment | string |
None. |
|
| IsAssigned | boolean |
None. |
|
| UserEmail | string |
None. |
|
| RevisionNumber | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ParametersForQuery": [
{
"Value": {},
"Type": "sample string 2",
"Name": "sample string 3",
"UseNull": true
},
{
"Value": {},
"Type": "sample string 2",
"Name": "sample string 3",
"UseNull": true
}
],
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"Comments": "sample string 4",
"Status": 5,
"CreateDate": "2025-12-05T21:39:15.0764974-06:00",
"CompleteDate": "2025-12-05T21:39:15.0764974-06:00",
"Deadline": "2025-12-05T21:39:15.0764974-06:00",
"QueryId": 1,
"UserMappId": 8,
"WhCode": "sample string 9",
"ClosingComment": "sample string 10",
"IsAssigned": true,
"UserEmail": "sample string 12",
"RevisionNumber": 13
}
application/xml, text/xml
Sample:
<InventoryCounting2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZBINVENTORY.MODELS.DB">
<ClosingComment>sample string 10</ClosingComment>
<Comments>sample string 4</Comments>
<CompleteDate>2025-12-05T21:39:15.0764974-06:00</CompleteDate>
<CreateDate>2025-12-05T21:39:15.0764974-06:00</CreateDate>
<Deadline>2025-12-05T21:39:15.0764974-06:00</Deadline>
<Description>sample string 3</Description>
<Id>1</Id>
<IsAssigned>true</IsAssigned>
<Name>sample string 2</Name>
<QueryId>1</QueryId>
<RevisionNumber>13</RevisionNumber>
<Status>5</Status>
<UserEmail>sample string 12</UserEmail>
<UserMappId>8</UserMappId>
<WhCode>sample string 9</WhCode>
<ParametersForQuery xmlns:d2p1="http://schemas.datacontract.org/2004/07/ZBINVENTORY.MODELS.Other">
<d2p1:Parameter>
<d2p1:Name>sample string 3</d2p1:Name>
<d2p1:Type>sample string 2</d2p1:Type>
<d2p1:UseNull>true</d2p1:UseNull>
<d2p1:Value />
</d2p1:Parameter>
<d2p1:Parameter>
<d2p1:Name>sample string 3</d2p1:Name>
<d2p1:Type>sample string 2</d2p1:Type>
<d2p1:UseNull>true</d2p1:UseNull>
<d2p1:Value />
</d2p1:Parameter>
</ParametersForQuery>
</InventoryCounting2>
application/x-www-form-urlencoded
Sample:
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. |