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": "e73edc9a-7158-4e9a-8550-32f1dcf17105", "Country": { "Id": "1dd962a1-7633-42a6-a7b9-9cbd814c35f2", "Name": "sample string 2" }, "StateProvince": { "Id": "1dd962a1-7633-42a6-a7b9-9cbd814c35f2", "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>1dd962a1-7633-42a6-a7b9-9cbd814c35f2</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>e73edc9a-7158-4e9a-8550-32f1dcf17105</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>1dd962a1-7633-42a6-a7b9-9cbd814c35f2</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": "09319c47-45e8-4e7e-997a-0d4be6fedd67", "Country": { "Id": "20ac95c0-a1f1-43ae-ad08-0d65674c9318", "Name": "sample string 2" }, "StateProvince": { "Id": "20ac95c0-a1f1-43ae-ad08-0d65674c9318", "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>20ac95c0-a1f1-43ae-ad08-0d65674c9318</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>09319c47-45e8-4e7e-997a-0d4be6fedd67</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>20ac95c0-a1f1-43ae-ad08-0d65674c9318</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </StateProvince> <StateProvinceString>sample string 2</StateProvinceString> </CourseLocation>