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": "94850733-f8a1-4ce7-9a99-844147ebf75b", "Country": { "Id": "06d61b1c-a2f1-4ad8-8ec6-18505fd7380e", "Name": "sample string 2" }, "StateProvince": { "Id": "06d61b1c-a2f1-4ad8-8ec6-18505fd7380e", "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>06d61b1c-a2f1-4ad8-8ec6-18505fd7380e</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>94850733-f8a1-4ce7-9a99-844147ebf75b</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>06d61b1c-a2f1-4ad8-8ec6-18505fd7380e</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": "fa89b575-73e5-4db9-bd2d-5cc38761ba71", "Country": { "Id": "f44a42b4-021d-4c1a-8117-ad9e7bc9f3f5", "Name": "sample string 2" }, "StateProvince": { "Id": "f44a42b4-021d-4c1a-8117-ad9e7bc9f3f5", "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>f44a42b4-021d-4c1a-8117-ad9e7bc9f3f5</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>fa89b575-73e5-4db9-bd2d-5cc38761ba71</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>f44a42b4-021d-4c1a-8117-ad9e7bc9f3f5</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </StateProvince> <StateProvinceString>sample string 2</StateProvinceString> </CourseLocation>