GET api/v1/portals/{portalUid}/customer/compliance
Gets all compliance items in a given portal.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| portalUid |
The portal we are looking in. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns all the compliance items.
Collection of ComplianceViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Portal |
The portal. |
PortalViewModel |
None. |
| ComplianceGuid |
The compliance guid |
globally unique identifier |
None. |
| Name |
The compliance items name. |
string |
None. |
| Expires |
Does this compliance item expire |
boolean |
None. |
| WarningPeriod |
How may days before it expires should we warn the user |
integer |
None. |
| Issued |
Is this compliance item issued from a given date |
boolean |
None. |
| IssuedFor |
The number of days from the issue date that this compliance item is valid |
integer |
None. |
| Instructions |
The instuctions to be given to a candidate for the compliance item |
string |
None. |
| DateCreated |
Date created |
date |
None. |
| DateUpdated |
Date last updated |
date |
None. |
| Heading |
The compliance heading for this compliance item |
string |
None. |
| HeadingDescription |
The headings description |
string |
None. |
| Uid |
The GUID. |
globally unique identifier |
None. |
| Links |
The links. |
Collection of Link |
None. |
| DateUpdated |
Last time the record was updated |
date |
None. |
| UpdatedBy |
Who updated the record last |
string |
None. |
Response Formats
application/json, text/json
[
{
"Portal": {
"Name": "sample string 1",
"Uid": "50b58003-7c37-479b-9934-ceb1cb9f391d",
"Links": [
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
},
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
}
],
"DateUpdated": "2025-10-27T14:00:35.2076839+00:00",
"UpdatedBy": "sample string 3"
},
"ComplianceGuid": "e52b647a-4cc8-4d74-8fbb-31d9cbb5010e",
"Name": "sample string 2",
"Expires": true,
"WarningPeriod": 4,
"Issued": true,
"IssuedFor": 6,
"Instructions": "sample string 7",
"DateCreated": "2025-10-27T14:00:35.2076839+00:00",
"DateUpdated": "2025-10-27T14:00:35.2076839+00:00",
"Heading": "sample string 10",
"HeadingDescription": "sample string 11",
"Uid": "e139ca35-9a49-417d-b458-86765b6ac6b1",
"Links": [
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
},
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
}
],
"UpdatedBy": "sample string 13"
},
{
"Portal": {
"Name": "sample string 1",
"Uid": "50b58003-7c37-479b-9934-ceb1cb9f391d",
"Links": [
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
},
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
}
],
"DateUpdated": "2025-10-27T14:00:35.2076839+00:00",
"UpdatedBy": "sample string 3"
},
"ComplianceGuid": "e52b647a-4cc8-4d74-8fbb-31d9cbb5010e",
"Name": "sample string 2",
"Expires": true,
"WarningPeriod": 4,
"Issued": true,
"IssuedFor": 6,
"Instructions": "sample string 7",
"DateCreated": "2025-10-27T14:00:35.2076839+00:00",
"DateUpdated": "2025-10-27T14:00:35.2076839+00:00",
"Heading": "sample string 10",
"HeadingDescription": "sample string 11",
"Uid": "e139ca35-9a49-417d-b458-86765b6ac6b1",
"Links": [
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
},
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
}
],
"UpdatedBy": "sample string 13"
}
]
application/xml, text/xml
<ArrayOfComplianceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.ViewModels">
<ComplianceViewModel>
<DateUpdated xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:dateTime">2025-10-27T14:00:35.2076839+00:00</DateUpdated>
<Links xmlns:d3p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
<d3p1:Link>
<d3p1:Href>http://webapihelppage1.com/</d3p1:Href>
<d3p1:Method>sample string 2</d3p1:Method>
<d3p1:Rel>sample string 3</d3p1:Rel>
<d3p1:Title>sample string 4</d3p1:Title>
<d3p1:Type>sample string 5</d3p1:Type>
</d3p1:Link>
<d3p1:Link>
<d3p1:Href>http://webapihelppage1.com/</d3p1:Href>
<d3p1:Method>sample string 2</d3p1:Method>
<d3p1:Rel>sample string 3</d3p1:Rel>
<d3p1:Title>sample string 4</d3p1:Title>
<d3p1:Type>sample string 5</d3p1:Type>
</d3p1:Link>
</Links>
<Uid>e139ca35-9a49-417d-b458-86765b6ac6b1</Uid>
<UpdatedBy>sample string 13</UpdatedBy>
<ComplianceGuid>e52b647a-4cc8-4d74-8fbb-31d9cbb5010e</ComplianceGuid>
<DateCreated>2025-10-27T14:00:35.2076839+00:00</DateCreated>
<DateUpdated xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:dateTime">2025-10-27T14:00:35.2076839+00:00</DateUpdated>
<Expires>true</Expires>
<Heading>sample string 10</Heading>
<HeadingDescription>sample string 11</HeadingDescription>
<Instructions>sample string 7</Instructions>
<Issued>true</Issued>
<IssuedFor>6</IssuedFor>
<Name>sample string 2</Name>
<Portal>
<DateUpdated>2025-10-27T14:00:35.2076839+00:00</DateUpdated>
<Links xmlns:d4p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
<d4p1:Link>
<d4p1:Href>http://webapihelppage1.com/</d4p1:Href>
<d4p1:Method>sample string 2</d4p1:Method>
<d4p1:Rel>sample string 3</d4p1:Rel>
<d4p1:Title>sample string 4</d4p1:Title>
<d4p1:Type>sample string 5</d4p1:Type>
</d4p1:Link>
<d4p1:Link>
<d4p1:Href>http://webapihelppage1.com/</d4p1:Href>
<d4p1:Method>sample string 2</d4p1:Method>
<d4p1:Rel>sample string 3</d4p1:Rel>
<d4p1:Title>sample string 4</d4p1:Title>
<d4p1:Type>sample string 5</d4p1:Type>
</d4p1:Link>
</Links>
<Uid>50b58003-7c37-479b-9934-ceb1cb9f391d</Uid>
<UpdatedBy>sample string 3</UpdatedBy>
<Name>sample string 1</Name>
</Portal>
<WarningPeriod>4</WarningPeriod>
</ComplianceViewModel>
<ComplianceViewModel>
<DateUpdated xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:dateTime">2025-10-27T14:00:35.2076839+00:00</DateUpdated>
<Links xmlns:d3p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
<d3p1:Link>
<d3p1:Href>http://webapihelppage1.com/</d3p1:Href>
<d3p1:Method>sample string 2</d3p1:Method>
<d3p1:Rel>sample string 3</d3p1:Rel>
<d3p1:Title>sample string 4</d3p1:Title>
<d3p1:Type>sample string 5</d3p1:Type>
</d3p1:Link>
<d3p1:Link>
<d3p1:Href>http://webapihelppage1.com/</d3p1:Href>
<d3p1:Method>sample string 2</d3p1:Method>
<d3p1:Rel>sample string 3</d3p1:Rel>
<d3p1:Title>sample string 4</d3p1:Title>
<d3p1:Type>sample string 5</d3p1:Type>
</d3p1:Link>
</Links>
<Uid>e139ca35-9a49-417d-b458-86765b6ac6b1</Uid>
<UpdatedBy>sample string 13</UpdatedBy>
<ComplianceGuid>e52b647a-4cc8-4d74-8fbb-31d9cbb5010e</ComplianceGuid>
<DateCreated>2025-10-27T14:00:35.2076839+00:00</DateCreated>
<DateUpdated xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:dateTime">2025-10-27T14:00:35.2076839+00:00</DateUpdated>
<Expires>true</Expires>
<Heading>sample string 10</Heading>
<HeadingDescription>sample string 11</HeadingDescription>
<Instructions>sample string 7</Instructions>
<Issued>true</Issued>
<IssuedFor>6</IssuedFor>
<Name>sample string 2</Name>
<Portal>
<DateUpdated>2025-10-27T14:00:35.2076839+00:00</DateUpdated>
<Links xmlns:d4p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
<d4p1:Link>
<d4p1:Href>http://webapihelppage1.com/</d4p1:Href>
<d4p1:Method>sample string 2</d4p1:Method>
<d4p1:Rel>sample string 3</d4p1:Rel>
<d4p1:Title>sample string 4</d4p1:Title>
<d4p1:Type>sample string 5</d4p1:Type>
</d4p1:Link>
<d4p1:Link>
<d4p1:Href>http://webapihelppage1.com/</d4p1:Href>
<d4p1:Method>sample string 2</d4p1:Method>
<d4p1:Rel>sample string 3</d4p1:Rel>
<d4p1:Title>sample string 4</d4p1:Title>
<d4p1:Type>sample string 5</d4p1:Type>
</d4p1:Link>
</Links>
<Uid>50b58003-7c37-479b-9934-ceb1cb9f391d</Uid>
<UpdatedBy>sample string 3</UpdatedBy>
<Name>sample string 1</Name>
</Portal>
<WarningPeriod>4</WarningPeriod>
</ComplianceViewModel>
</ArrayOfComplianceViewModel>