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": "9444b95c-47e6-4658-8c1f-2aca5e8bb448", "Country": { "Id": "ae9a08bb-a202-464f-83e6-a4adb06d700e", "Name": "sample string 2" }, "StateProvince": { "Id": "ae9a08bb-a202-464f-83e6-a4adb06d700e", "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>ae9a08bb-a202-464f-83e6-a4adb06d700e</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>9444b95c-47e6-4658-8c1f-2aca5e8bb448</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>ae9a08bb-a202-464f-83e6-a4adb06d700e</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": "6c52e943-340f-4e3e-8f8c-d479f43c36c1", "Country": { "Id": "2751b297-0a99-4e4f-9882-50dbf3087e54", "Name": "sample string 2" }, "StateProvince": { "Id": "2751b297-0a99-4e4f-9882-50dbf3087e54", "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>2751b297-0a99-4e4f-9882-50dbf3087e54</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>6c52e943-340f-4e3e-8f8c-d479f43c36c1</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>2751b297-0a99-4e4f-9882-50dbf3087e54</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </StateProvince> <StateProvinceString>sample string 2</StateProvinceString> </CourseLocation>