POST api/Session/Post
Request Information
URI Parameters
None.
Body Parameters
Session| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| StocktakingId | integer |
None. |
|
| Counting | string |
None. |
|
| Writing | string |
None. |
|
| Date | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"StocktakingId": 2,
"Counting": "sample string 3",
"Writing": "sample string 4",
"Date": "2026-01-11T23:55:00.5731392+01:00"
}
application/xml, text/xml
Sample:
<Session xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WTSInventur.Data.Models"> <Counting>sample string 3</Counting> <Date>2026-01-11T23:55:00.5731392+01:00</Date> <Id>1</Id> <StocktakingId>2</StocktakingId> <Writing>sample string 4</Writing> </Session>
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. |