POST api/RestrictionsMQ
Request Information
URI Parameters
None.
Body Parameters
Restriction| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| date | date |
None. |
|
| doc_no | integer |
None. |
|
| type | integer |
None. |
|
| state | integer |
None. |
|
| notes | string |
None. |
|
| branch | integer |
None. |
|
| IS_Deleted | boolean |
None. |
|
| omla | integer |
None. |
|
| omlaval | decimal number |
None. |
|
| doc_no2 | integer |
None. |
|
| total_dept | decimal number |
None. |
|
| total_credit | decimal number |
None. |
|
| rest_type | integer |
None. |
|
| rest_cycle_no | integer |
None. |
|
| book_id | integer |
None. |
|
| Center | integer |
None. |
|
| create_user | integer |
None. |
|
| reshd_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"date": "2025-11-09T14:22:21.232044+03:00",
"doc_no": 1,
"type": 1,
"state": 1,
"notes": "sample string 2",
"branch": 1,
"IS_Deleted": true,
"omla": 1,
"omlaval": 1.1,
"doc_no2": 1,
"total_dept": 1.1,
"total_credit": 1.1,
"rest_type": 1,
"rest_cycle_no": 1,
"book_id": 1,
"Center": 1,
"create_user": 1,
"reshd_id": 3
}
application/xml, text/xml
Sample:
<Restriction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models"> <Center>1</Center> <IS_Deleted>true</IS_Deleted> <book_id>1</book_id> <branch>1</branch> <create_user>1</create_user> <date>2025-11-09T14:22:21.232044+03:00</date> <doc_no>1</doc_no> <doc_no2>1</doc_no2> <id>1</id> <notes>sample string 2</notes> <omla>1</omla> <omlaval>1.1</omlaval> <reshd_id>3</reshd_id> <rest_cycle_no>1</rest_cycle_no> <rest_type>1</rest_type> <state>1</state> <total_credit>1.1</total_credit> <total_dept>1.1</total_dept> <type>1</type> </Restriction>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |