POST api/HomeHosts?fabric={fabric}&policyID={policyID}&policyOverride={policyOverride}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
fabric

string

Required

policyID

integer

Required

policyOverride

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Collection of HomeHostProvider
NameDescriptionTypeAdditional information
ID

integer

None.

HomeCountryCode

string

None.

HomeCountryName

string

None.

HostCountryCode

string

None.

HostCountryName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "HomeCountryCode": "sample string 2",
    "HomeCountryName": "sample string 3",
    "HostCountryCode": "sample string 4",
    "HostCountryName": "sample string 5"
  },
  {
    "ID": 1,
    "HomeCountryCode": "sample string 2",
    "HomeCountryName": "sample string 3",
    "HostCountryCode": "sample string 4",
    "HostCountryName": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfHomeHostProvider xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric">
  <HomeHostProvider>
    <HomeCountryCode>sample string 2</HomeCountryCode>
    <HomeCountryName>sample string 3</HomeCountryName>
    <HostCountryCode>sample string 4</HostCountryCode>
    <HostCountryName>sample string 5</HostCountryName>
    <ID>1</ID>
  </HomeHostProvider>
  <HomeHostProvider>
    <HomeCountryCode>sample string 2</HomeCountryCode>
    <HomeCountryName>sample string 3</HomeCountryName>
    <HostCountryCode>sample string 4</HostCountryCode>
    <HostCountryName>sample string 5</HostCountryName>
    <ID>1</ID>
  </HomeHostProvider>
</ArrayOfHomeHostProvider>