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": "37ff5d3c-b9df-4cbc-a0a2-c82b1ade75e2", "Country": { "Id": "64ce3ded-282d-4ce0-967b-ded3d4996507", "Name": "sample string 2" }, "StateProvince": { "Id": "64ce3ded-282d-4ce0-967b-ded3d4996507", "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>64ce3ded-282d-4ce0-967b-ded3d4996507</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>37ff5d3c-b9df-4cbc-a0a2-c82b1ade75e2</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>64ce3ded-282d-4ce0-967b-ded3d4996507</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": "55559abd-1185-4c70-8e21-19100ff84dd9", "Country": { "Id": "36c30fb4-7099-4996-8f7a-d4a167e0f6f4", "Name": "sample string 2" }, "StateProvince": { "Id": "36c30fb4-7099-4996-8f7a-d4a167e0f6f4", "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>36c30fb4-7099-4996-8f7a-d4a167e0f6f4</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Country> <Id>55559abd-1185-4c70-8e21-19100ff84dd9</Id> <StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers"> <d2p1:Id>36c30fb4-7099-4996-8f7a-d4a167e0f6f4</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </StateProvince> <StateProvinceString>sample string 2</StateProvinceString> </CourseLocation>