POST api/ASS_DocTypes
Request Information
URI Parameters
None.
Body Parameters
ASS_DocTypes| Name | Description | Type | Additional information |
|---|---|---|---|
| idDocType | decimal number |
None. |
|
| DocType | string |
None. |
|
| withExpreDate | boolean |
None. |
|
| notifDays | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"idDocType": 1.0,
"DocType": "sample string 2",
"withExpreDate": true,
"notifDays": 1
}
text/html
Sample:
{"idDocType":1.0,"DocType":"sample string 2","withExpreDate":true,"notifDays":1}
application/xml, text/xml
Sample:
<ASS_DocTypes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnjomanServices.Models"> <DocType>sample string 2</DocType> <idDocType>1</idDocType> <notifDays>1</notifDays> <withExpreDate>true</withExpreDate> </ASS_DocTypes>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ASS_DocTypes| Name | Description | Type | Additional information |
|---|---|---|---|
| idDocType | decimal number |
None. |
|
| DocType | string |
None. |
|
| withExpreDate | boolean |
None. |
|
| notifDays | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"idDocType": 1.0,
"DocType": "sample string 2",
"withExpreDate": true,
"notifDays": 1
}
text/html
Sample:
{"idDocType":1.0,"DocType":"sample string 2","withExpreDate":true,"notifDays":1}
application/xml, text/xml
Sample:
<ASS_DocTypes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnjomanServices.Models"> <DocType>sample string 2</DocType> <idDocType>1</idDocType> <notifDays>1</notifDays> <withExpreDate>true</withExpreDate> </ASS_DocTypes>