GET Api/Policies?portal={portal}&culture={culture}
Returns a list of policies.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| portal | string |
None. |
|
| culture | string |
None. |
Body Parameters
None.
Response Information
Resource Description
A list of policies.
Collection of PolicyResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The unique identifier of the policy. |
integer |
None. |
| Text |
The policy text |
string |
None. |
| CreatedOn |
Date of creation |
date |
None. |
| Type |
Type of the policy |
PolicyType |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Text": "sample string 2",
"CreatedOn": "2025-11-08T08:20:58.2054088+01:00",
"Type": 0
},
{
"Id": 1,
"Text": "sample string 2",
"CreatedOn": "2025-11-08T08:20:58.2054088+01:00",
"Type": 0
}
]
application/xml, text/xml
Sample:
<ArrayOfPolicyResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Responses">
<PolicyResponse>
<CreatedOn>2025-11-08T08:20:58.2054088+01:00</CreatedOn>
<Id>1</Id>
<Text>sample string 2</Text>
<Type>Consent</Type>
</PolicyResponse>
<PolicyResponse>
<CreatedOn>2025-11-08T08:20:58.2054088+01:00</CreatedOn>
<Id>1</Id>
<Text>sample string 2</Text>
<Type>Consent</Type>
</PolicyResponse>
</ArrayOfPolicyResponse>