GET api/{website}/Organizations?search={search}

Get the selected country by providing an id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
website

Name of the website to filter out data

string

Required

search

Unique iditifier of the country

string

Required

Body Parameters

None.

Response Information

Resource Description

OrganizationsViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

Name

string

None.

City

string

None.

Country

string

None.

DisplayName

string

None.

ShortName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Code": "sample string 2",
  "Name": "sample string 3",
  "City": "sample string 4",
  "Country": "sample string 5",
  "DisplayName": "sample string 6",
  "ShortName": "sample string 7"
}

text/html

Sample:
{"Id":1,"Code":"sample string 2","Name":"sample string 3","City":"sample string 4","Country":"sample string 5","DisplayName":"sample string 6","ShortName":"sample string 7"}

application/xml, text/xml

Sample:
<OrganizationsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IBNetAPI.ViewModels">
  <City>sample string 4</City>
  <Code>sample string 2</Code>
  <Country>sample string 5</Country>
  <DisplayName>sample string 6</DisplayName>
  <Id>1</Id>
  <Name>sample string 3</Name>
  <ShortName>sample string 7</ShortName>
</OrganizationsViewModel>