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": "b29aa20d-15f8-4f82-a6a5-8db4038cd4c3", "Country": { "Id": "39bd636d-483a-472f-bfdd-8faf38172a84", "Name": "sample string 2" }, "StateProvince": { "Id": "39bd636d-483a-472f-bfdd-8faf38172a84", "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>39bd636d-483a-472f-bfdd-8faf38172a84</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>b29aa20d-15f8-4f82-a6a5-8db4038cd4c3</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>39bd636d-483a-472f-bfdd-8faf38172a84</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": "24b675ef-0f4e-40ed-8326-15377809c6a0", "Country": { "Id": "917652a5-4b87-4ab2-9ae1-f8526b8464af", "Name": "sample string 2" }, "StateProvince": { "Id": "917652a5-4b87-4ab2-9ae1-f8526b8464af", "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>917652a5-4b87-4ab2-9ae1-f8526b8464af</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>24b675ef-0f4e-40ed-8326-15377809c6a0</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>917652a5-4b87-4ab2-9ae1-f8526b8464af</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </StateProvince> <StateProvinceString>sample string 2</StateProvinceString> </CourseLocation>