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": "06adbf6a-f89f-4534-bdbf-e2dd17ea0899", "Country": { "Id": "f1c4ee3b-a163-4e6e-bc7a-c661e3c2ccb1", "Name": "sample string 2" }, "StateProvince": { "Id": "f1c4ee3b-a163-4e6e-bc7a-c661e3c2ccb1", "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>f1c4ee3b-a163-4e6e-bc7a-c661e3c2ccb1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>06adbf6a-f89f-4534-bdbf-e2dd17ea0899</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>f1c4ee3b-a163-4e6e-bc7a-c661e3c2ccb1</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": "c58600a8-3e0b-4bb6-97c9-703cbf9fad49", "Country": { "Id": "523cd274-263b-4f47-aa6e-849ce4d3b35e", "Name": "sample string 2" }, "StateProvince": { "Id": "523cd274-263b-4f47-aa6e-849ce4d3b35e", "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>523cd274-263b-4f47-aa6e-849ce4d3b35e</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>c58600a8-3e0b-4bb6-97c9-703cbf9fad49</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>523cd274-263b-4f47-aa6e-849ce4d3b35e</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </StateProvince> <StateProvinceString>sample string 2</StateProvinceString> </CourseLocation>