GET api/ObjectType
Gets a list of object type.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ObjectType| Name | Description | Type | Additional information |
|---|---|---|---|
| ObjectTypeId | integer |
None. |
|
| ObjectTypeName | string |
None. |
|
| IsForFile | boolean |
None. |
|
| IsForPhoto | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ObjectTypeId": 1,
"ObjectTypeName": "sample string 2",
"IsForFile": true,
"IsForPhoto": true
},
{
"ObjectTypeId": 1,
"ObjectTypeName": "sample string 2",
"IsForFile": true,
"IsForPhoto": true
}
]
application/xml, text/xml
Sample:
<ArrayOfObjectType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
<ObjectType>
<IsForFile>true</IsForFile>
<IsForPhoto>true</IsForPhoto>
<ObjectTypeId>1</ObjectTypeId>
<ObjectTypeName>sample string 2</ObjectTypeName>
</ObjectType>
<ObjectType>
<IsForFile>true</IsForFile>
<IsForPhoto>true</IsForPhoto>
<ObjectTypeId>1</ObjectTypeId>
<ObjectTypeName>sample string 2</ObjectTypeName>
</ObjectType>
</ArrayOfObjectType>