POST api/Place?placeTypeId={placeTypeId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| placeTypeId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PlaceLookupVM| Name | Description | Type | Additional information |
|---|---|---|---|
| PlaceId | integer |
None. |
|
| PlaceName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PlaceId": 1,
"PlaceName": "sample string 2"
},
{
"PlaceId": 1,
"PlaceName": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfPlaceLookupVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<PlaceLookupVM>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</PlaceLookupVM>
<PlaceLookupVM>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</PlaceLookupVM>
</ArrayOfPlaceLookupVM>