GET api/PostTypes/GetPostTypes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of PostTypeName | Description | Type | Additional information |
---|---|---|---|
PostTypeId | integer |
None. |
|
Name | string |
None. |
|
LastChanged | date |
None. |
|
LastChange_AuthorId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PostTypeId": 1, "Name": "sample string 2", "LastChanged": "2025-08-14T03:10:22.4826368+00:00", "LastChange_AuthorId": 1 }, { "PostTypeId": 1, "Name": "sample string 2", "LastChanged": "2025-08-14T03:10:22.4826368+00:00", "LastChange_AuthorId": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfPostType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models"> <PostType> <LastChange_AuthorId>1</LastChange_AuthorId> <LastChanged>2025-08-14T03:10:22.4826368+00:00</LastChanged> <Name>sample string 2</Name> <PostTypeId>1</PostTypeId> </PostType> <PostType> <LastChange_AuthorId>1</LastChange_AuthorId> <LastChanged>2025-08-14T03:10:22.4826368+00:00</LastChanged> <Name>sample string 2</Name> <PostTypeId>1</PostTypeId> </PostType> </ArrayOfPostType>