POST api/ddl/GetCountries

Request Information

URI Parameters

None.

Body Parameters

DTODDL
NameDescriptionTypeAdditional information
IsForDoctor

boolean

None.

Token

globally unique identifier

None.

DoctorId

globally unique identifier

None.

BranchId

globally unique identifier

None.

OrganizationId

globally unique identifier

None.

CountryId

globally unique identifier

None.

StateORProvinceId

globally unique identifier

None.

DepartmentIds

Collection of globally unique identifier

None.

SpecialityIds

Collection of globally unique identifier

None.

Search

string

None.

GroupType

integer

None.

PatientId

globally unique identifier

None.

StatusValue

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IsForDoctor": true,
  "Token": "ef6066b6-4dc7-4186-b6b6-531db42e0e5c",
  "DoctorId": "b667bfba-cc0a-443b-a7cf-b0f752ee34e6",
  "BranchId": "291492e2-f75d-4725-a095-c2a563a98e86",
  "OrganizationId": "bf482471-fad9-405f-a081-486299ea2d71",
  "CountryId": "1d00c04a-7d1e-4a7c-841e-eb15c9efec2c",
  "StateORProvinceId": "67ba5ce4-c026-4d0e-9174-05542ec53f9f",
  "DepartmentIds": [
    "4c433d0f-feed-4b74-b1d8-6fa23f6aa36e",
    "79730dce-f4d7-4826-92a2-8c5b0facabed"
  ],
  "SpecialityIds": [
    "bb9a2627-fc22-4657-acf6-8a28109507bd",
    "12c6b2d2-ce44-4045-b1f9-843167f597cf"
  ],
  "Search": "sample string 4",
  "GroupType": 1,
  "PatientId": "77491959-a551-4de5-8869-01ed583c202d",
  "StatusValue": 1
}

application/xml, text/xml

Sample:
<DTODDL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeCarePortal.BAL.DTOModels">
  <BranchId>291492e2-f75d-4725-a095-c2a563a98e86</BranchId>
  <CountryId>1d00c04a-7d1e-4a7c-841e-eb15c9efec2c</CountryId>
  <DepartmentIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>4c433d0f-feed-4b74-b1d8-6fa23f6aa36e</d2p1:guid>
    <d2p1:guid>79730dce-f4d7-4826-92a2-8c5b0facabed</d2p1:guid>
  </DepartmentIds>
  <DoctorId>b667bfba-cc0a-443b-a7cf-b0f752ee34e6</DoctorId>
  <GroupType>1</GroupType>
  <IsForDoctor>true</IsForDoctor>
  <OrganizationId>bf482471-fad9-405f-a081-486299ea2d71</OrganizationId>
  <PatientId>77491959-a551-4de5-8869-01ed583c202d</PatientId>
  <Search>sample string 4</Search>
  <SpecialityIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>bb9a2627-fc22-4657-acf6-8a28109507bd</d2p1:guid>
    <d2p1:guid>12c6b2d2-ce44-4045-b1f9-843167f597cf</d2p1:guid>
  </SpecialityIds>
  <StateORProvinceId>67ba5ce4-c026-4d0e-9174-05542ec53f9f</StateORProvinceId>
  <StatusValue>1</StatusValue>
  <Token>ef6066b6-4dc7-4186-b6b6-531db42e0e5c</Token>
</DTODDL>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DTODDL'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.