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": "625643f8-0271-4319-873c-86234bcd8a55", "Country": { "Id": "9825db5f-fd7a-465b-b7ae-e626343b611a", "Name": "sample string 2" }, "StateProvince": { "Id": "9825db5f-fd7a-465b-b7ae-e626343b611a", "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>9825db5f-fd7a-465b-b7ae-e626343b611a</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>625643f8-0271-4319-873c-86234bcd8a55</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>9825db5f-fd7a-465b-b7ae-e626343b611a</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": "2cf2e55d-002e-41ab-85b6-2b862f331d8a", "Country": { "Id": "262d7b79-3beb-4b79-bbe4-8152509d74ed", "Name": "sample string 2" }, "StateProvince": { "Id": "262d7b79-3beb-4b79-bbe4-8152509d74ed", "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>262d7b79-3beb-4b79-bbe4-8152509d74ed</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>2cf2e55d-002e-41ab-85b6-2b862f331d8a</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>262d7b79-3beb-4b79-bbe4-8152509d74ed</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </StateProvince> <StateProvinceString>sample string 2</StateProvinceString> </CourseLocation>