POST api/provider/program/courselocation?programId={programId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programId | globally unique identifier |
Required |
Body Parameters
CourseLocationName | Description | Type | Additional 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": "cdb95598-15a8-4506-9c48-9501dbb88d5c", "Country": { "Id": "b1268d40-d1a0-4746-af5b-fa2baf6b0499", "Name": "sample string 2" }, "StateProvince": { "Id": "b1268d40-d1a0-4746-af5b-fa2baf6b0499", "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>b1268d40-d1a0-4746-af5b-fa2baf6b0499</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>cdb95598-15a8-4506-9c48-9501dbb88d5c</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>b1268d40-d1a0-4746-af5b-fa2baf6b0499</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
CourseLocationName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Country | IdNamePair |
None. |
|
StateProvince | IdNamePair |
None. |
|
StateProvinceString | string |
None. |
|
City | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "d9ad61f8-3cf5-4c8c-b567-18f73bbdd505", "Country": { "Id": "9c414676-e233-4912-af75-caf11278c968", "Name": "sample string 2" }, "StateProvince": { "Id": "9c414676-e233-4912-af75-caf11278c968", "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>9c414676-e233-4912-af75-caf11278c968</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>d9ad61f8-3cf5-4c8c-b567-18f73bbdd505</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>9c414676-e233-4912-af75-caf11278c968</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </StateProvince> <StateProvinceString>sample string 2</StateProvinceString> </CourseLocation>