GET api/policyrestrictions/{customerId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

integer

Required

Body Parameters

None.

Response Information

Resource Description

PolicyRestrictionsResponseDto
NameDescriptionTypeAdditional information
Restrictions

Collection of PolicyRestrictionDto

None.

CustomerID

integer

None.

IsSuccess

boolean

None.

Message

string

None.

Messages

Collection of ErrorMessage

None.

Response Formats

application/json, text/json

Sample:
{
  "Messages": [
    {
      "code": 1,
      "message": "sample string 2"
    },
    {
      "code": 1,
      "message": "sample string 2"
    }
  ],
  "Restrictions": [
    {
      "Name": "sample string 1",
      "HostApplication": "sample string 2",
      "HostApplicationUrl": "sample string 3"
    },
    {
      "Name": "sample string 1",
      "HostApplication": "sample string 2",
      "HostApplicationUrl": "sample string 3"
    }
  ],
  "CustomerID": 1,
  "IsSuccess": true,
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<PolicyRestrictionsResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Neora.Services.Model.DTO">
  <CustomerID>1</CustomerID>
  <IsSuccess>true</IsSuccess>
  <Message>sample string 3</Message>
  <Messages>
    <ErrorMessage>
      <code>1</code>
      <message>sample string 2</message>
    </ErrorMessage>
    <ErrorMessage>
      <code>1</code>
      <message>sample string 2</message>
    </ErrorMessage>
  </Messages>
  <Restrictions>
    <PolicyRestrictionDto>
      <HostApplication>sample string 2</HostApplication>
      <HostApplicationUrl>sample string 3</HostApplicationUrl>
      <Name>sample string 1</Name>
    </PolicyRestrictionDto>
    <PolicyRestrictionDto>
      <HostApplication>sample string 2</HostApplication>
      <HostApplicationUrl>sample string 3</HostApplicationUrl>
      <Name>sample string 1</Name>
    </PolicyRestrictionDto>
  </Restrictions>
</PolicyRestrictionsResponseDto>