POST api/Documenttypes
Request Information
URI Parameters
None.
Body Parameters
DocumentTypeName | Description | Type | Additional information |
---|---|---|---|
DocumentTypeId | integer |
None. |
|
Name | string |
None. |
|
LastChanged | date |
None. |
|
LastChange_AuthorId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "DocumentTypeId": 1, "Name": "sample string 2", "LastChanged": "2025-08-14T03:12:12.0526617+00:00", "LastChange_AuthorId": 1 }
application/xml, text/xml
Sample:
<DocumentType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models"> <DocumentTypeId>1</DocumentTypeId> <LastChange_AuthorId>1</LastChange_AuthorId> <LastChanged>2025-08-14T03:12:12.0526617+00:00</LastChanged> <Name>sample string 2</Name> </DocumentType>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DocumentTypeName | Description | Type | Additional information |
---|---|---|---|
DocumentTypeId | integer |
None. |
|
Name | string |
None. |
|
LastChanged | date |
None. |
|
LastChange_AuthorId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "DocumentTypeId": 1, "Name": "sample string 2", "LastChanged": "2025-08-14T03:12:12.0526617+00:00", "LastChange_AuthorId": 1 }
application/xml, text/xml
Sample:
<DocumentType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models"> <DocumentTypeId>1</DocumentTypeId> <LastChange_AuthorId>1</LastChange_AuthorId> <LastChanged>2025-08-14T03:12:12.0526617+00:00</LastChanged> <Name>sample string 2</Name> </DocumentType>