POST api/Country/BaseGetAll

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Country
NameDescriptionTypeAdditional information
Code

string

None.

Name

string

None.

AOIId

string

None.

Region

string

None.

LatitudeMin

decimal number

None.

LongitudeMin

decimal number

None.

LatitudeMax

decimal number

None.

LongitudeMax

decimal number

None.

CompetitiveProductRequest

string

None.

Level1Code

string

None.

ChangeTracker

ObjectChangeTracker

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Code": "sample string 1",
    "Name": "sample string 2",
    "AOIId": "sample string 3",
    "Region": "sample string 4",
    "LatitudeMin": 1.1,
    "LongitudeMin": 1.1,
    "LatitudeMax": 1.1,
    "LongitudeMax": 1.1,
    "CompetitiveProductRequest": "sample string 5",
    "Level1Code": "sample string 6",
    "ChangeTracker": {
      "$id": "2",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {}
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <Country z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <AOIId>sample string 3</AOIId>
    <ChangeTracker z:Id="i2">
      <ExtendedProperties />
      <ObjectsAddedToCollectionProperties />
      <ObjectsRemovedFromCollectionProperties />
      <OriginalValues />
      <State>Added</State>
    </ChangeTracker>
    <Code>sample string 1</Code>
    <CompetitiveProductRequest>sample string 5</CompetitiveProductRequest>
    <LatitudeMax>1.1</LatitudeMax>
    <LatitudeMin>1.1</LatitudeMin>
    <Level1Code>sample string 6</Level1Code>
    <LongitudeMax>1.1</LongitudeMax>
    <LongitudeMin>1.1</LongitudeMin>
    <Name>sample string 2</Name>
    <Region>sample string 4</Region>
  </Country>
  <Country z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfCountry>