PUT api/provider/program/courselocation

Request Information

URI Parameters

None.

Body Parameters

CourseLocation
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Country

IdNamePair

None.

StateProvince

IdNamePair

None.

StateProvinceString

string

None.

City

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "37e6a36e-d45e-4228-8900-37d7f2ec3283",
  "Country": {
    "Id": "483d87e5-9690-4bb2-82e0-231b5c4f95f0",
    "Name": "sample string 2"
  },
  "StateProvince": {
    "Id": "483d87e5-9690-4bb2-82e0-231b5c4f95f0",
    "Name": "sample string 2"
  },
  "StateProvinceString": "sample string 2",
  "City": "sample string 3"
}

application/xml, text/xml

Sample:
<CourseLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models">
  <City>sample string 3</City>
  <Country xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
    <d2p1:Id>483d87e5-9690-4bb2-82e0-231b5c4f95f0</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </Country>
  <Id>37e6a36e-d45e-4228-8900-37d7f2ec3283</Id>
  <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
    <d2p1:Id>483d87e5-9690-4bb2-82e0-231b5c4f95f0</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </StateProvince>
  <StateProvinceString>sample string 2</StateProvinceString>
</CourseLocation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.