POST api/locations/create

Request Information

URI Parameters

None.

Body Parameters

location
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ProfileId

globally unique identifier

None.

CountryCode

string

None.

CountryName

string

None.

State

string

None.

Street

string

None.

Suite

string

None.

City

string

None.

PostalCode

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

TimeZone

string

None.

CreatedDate

date

None.

ModifiedDate

date

None.

DeletedDate

date

None.

profile

profile

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Locations
NameDescriptionTypeAdditional information
ProfileId

globally unique identifier

None.

CountryCode

string

None.

CountryName

string

None.

State

string

None.

Suite

string

None.

Street

string

None.

City

string

None.

PostalCode

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

TimeZone

string

None.

Id

globally unique identifier

None.

CreatedDate

date

None.

ModifiedDate

date

None.

DeletedDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "ProfileId": "d1c24ab3-5ac6-420a-bcae-b8fedaddcf3e",
  "CountryCode": "sample string 2",
  "CountryName": "sample string 3",
  "State": "sample string 4",
  "Suite": "sample string 5",
  "Street": "sample string 6",
  "City": "sample string 7",
  "PostalCode": "sample string 8",
  "Latitude": 9.1,
  "Longitude": 10.1,
  "TimeZone": "sample string 11",
  "Id": "f14d065f-338b-4be5-92eb-6d00fdefa999",
  "CreatedDate": "2025-12-05T20:26:28.9214819-08:00",
  "ModifiedDate": "2025-12-05T20:26:28.9214819-08:00",
  "DeletedDate": "2025-12-05T20:26:28.9214819-08:00"
}

application/xml, text/xml

Sample:
<Locations xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuicDoctor.Data.Data">
  <CreatedDate>2025-12-05T20:26:28.9214819-08:00</CreatedDate>
  <DeletedDate>2025-12-05T20:26:28.9214819-08:00</DeletedDate>
  <Id>f14d065f-338b-4be5-92eb-6d00fdefa999</Id>
  <ModifiedDate>2025-12-05T20:26:28.9214819-08:00</ModifiedDate>
  <City>sample string 7</City>
  <CountryCode>sample string 2</CountryCode>
  <CountryName>sample string 3</CountryName>
  <Latitude>9.1</Latitude>
  <Longitude>10.1</Longitude>
  <PostalCode>sample string 8</PostalCode>
  <ProfileId>d1c24ab3-5ac6-420a-bcae-b8fedaddcf3e</ProfileId>
  <State>sample string 4</State>
  <Street>sample string 6</Street>
  <Suite>sample string 5</Suite>
  <TimeZone>sample string 11</TimeZone>
</Locations>