POST api/persontypes
Request Information
URI Parameters
None.
Body Parameters
PersonType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Description | string |
None. |
|
| DefaultPLId | integer |
None. |
|
| DefaultFolderType | CFTypes |
None. |
|
| IsDefault | boolean |
None. |
|
| IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Description": "sample string 2",
"DefaultPLId": 3,
"DefaultFolderType": 0,
"IsDefault": true,
"IsActive": true
}
application/xml, text/xml
Sample:
<PersonType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models"> <DefaultFolderType>Inhouse</DefaultFolderType> <DefaultPLId>3</DefaultPLId> <Description>sample string 2</Description> <Id>1</Id> <IsActive>true</IsActive> <IsDefault>true</IsDefault> </PersonType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PersonType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Description | string |
None. |
|
| DefaultPLId | integer |
None. |
|
| DefaultFolderType | CFTypes |
None. |
|
| IsDefault | boolean |
None. |
|
| IsActive | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Description": "sample string 2",
"DefaultPLId": 3,
"DefaultFolderType": 0,
"IsDefault": true,
"IsActive": true
}
application/xml, text/xml
Sample:
<PersonType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models"> <DefaultFolderType>Inhouse</DefaultFolderType> <DefaultPLId>3</DefaultPLId> <Description>sample string 2</Description> <Id>1</Id> <IsActive>true</IsActive> <IsDefault>true</IsDefault> </PersonType>