POST api/Places

Request Information

URI Parameters

None.

Body Parameters

Place
NameDescriptionTypeAdditional information
PlaceId

integer

None.

Name

string

None.

Description

string

None.

CityId

integer

None.

StatusTypeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PlaceId": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "CityId": 1,
  "StatusTypeId": 1
}

application/xml, text/xml

Sample:
<Place xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GNGroup.Models">
  <CityId>1</CityId>
  <Description>sample string 3</Description>
  <Name>sample string 2</Name>
  <PlaceId>1</PlaceId>
  <StatusTypeId>1</StatusTypeId>
</Place>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Place
NameDescriptionTypeAdditional information
PlaceId

integer

None.

Name

string

None.

Description

string

None.

CityId

integer

None.

StatusTypeId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "PlaceId": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "CityId": 1,
  "StatusTypeId": 1
}

application/xml, text/xml

Sample:
<Place xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GNGroup.Models">
  <CityId>1</CityId>
  <Description>sample string 3</Description>
  <Name>sample string 2</Name>
  <PlaceId>1</PlaceId>
  <StatusTypeId>1</StatusTypeId>
</Place>