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": "59a56b29-7f84-46a8-82f5-5afcbfcf4a0f", "Country": { "Id": "fbf16f03-5f27-4c30-87b1-fac50730eae7", "Name": "sample string 2" }, "StateProvince": { "Id": "fbf16f03-5f27-4c30-87b1-fac50730eae7", "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>fbf16f03-5f27-4c30-87b1-fac50730eae7</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>59a56b29-7f84-46a8-82f5-5afcbfcf4a0f</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>fbf16f03-5f27-4c30-87b1-fac50730eae7</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": "01c57822-d628-4284-b6f5-ee2dde56491b", "Country": { "Id": "71340226-c549-4f51-8aca-db07dc4c4139", "Name": "sample string 2" }, "StateProvince": { "Id": "71340226-c549-4f51-8aca-db07dc4c4139", "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>71340226-c549-4f51-8aca-db07dc4c4139</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>01c57822-d628-4284-b6f5-ee2dde56491b</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>71340226-c549-4f51-8aca-db07dc4c4139</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </StateProvince> <StateProvinceString>sample string 2</StateProvinceString> </CourseLocation>