POST api/provider/program/courselocation?programId={programId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| programId | globally unique identifier |
Required |
Body Parameters
CourseLocation| Name | 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": "afaf4a28-f708-4187-a106-6eda72214be9",
"Country": {
"Id": "2199d6cc-b749-41d7-bcd2-d2659f35e15c",
"Name": "sample string 2"
},
"StateProvince": {
"Id": "2199d6cc-b749-41d7-bcd2-d2659f35e15c",
"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>2199d6cc-b749-41d7-bcd2-d2659f35e15c</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
</Country>
<Id>afaf4a28-f708-4187-a106-6eda72214be9</Id>
<StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
<d2p1:Id>2199d6cc-b749-41d7-bcd2-d2659f35e15c</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
CourseLocation| Name | 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": "ef19d13c-5829-452a-aee1-b3d2f19ef2b9",
"Country": {
"Id": "697936ef-c353-41bb-8968-42370cec3417",
"Name": "sample string 2"
},
"StateProvince": {
"Id": "697936ef-c353-41bb-8968-42370cec3417",
"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>697936ef-c353-41bb-8968-42370cec3417</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
</Country>
<Id>ef19d13c-5829-452a-aee1-b3d2f19ef2b9</Id>
<StateProvince xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
<d2p1:Id>697936ef-c353-41bb-8968-42370cec3417</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
</StateProvince>
<StateProvinceString>sample string 2</StateProvinceString>
</CourseLocation>