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": "6a9efca3-468e-4da0-9175-ff125795e30d", "Country": { "Id": "20eb1159-74ef-4425-b716-26d60e638167", "Name": "sample string 2" }, "StateProvince": { "Id": "20eb1159-74ef-4425-b716-26d60e638167", "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>20eb1159-74ef-4425-b716-26d60e638167</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>6a9efca3-468e-4da0-9175-ff125795e30d</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>20eb1159-74ef-4425-b716-26d60e638167</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": "d1479194-03a2-4ebf-a7d4-3d75913bba76", "Country": { "Id": "207a0567-db17-41ed-ae4c-8a74227153df", "Name": "sample string 2" }, "StateProvince": { "Id": "207a0567-db17-41ed-ae4c-8a74227153df", "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>207a0567-db17-41ed-ae4c-8a74227153df</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>d1479194-03a2-4ebf-a7d4-3d75913bba76</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>207a0567-db17-41ed-ae4c-8a74227153df</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </StateProvince> <StateProvinceString>sample string 2</StateProvinceString> </CourseLocation>