POST ShortTermClaims/GetContentClaimAttachmentTypes

Request Information

URI Parameters

None.

Body Parameters

SecurityTokenVerifiedRequest
NameDescriptionTypeAdditional information
SecurityKey

string

None.

PolicyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SecurityKey": "sample string 1",
  "PolicyId": 2
}

application/xml, text/xml

Sample:
<SecurityTokenVerifiedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.oneplan.co.za.Models">
  <PolicyId>2</PolicyId>
  <SecurityKey>sample string 1</SecurityKey>
</SecurityTokenVerifiedRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseOfListOfAttachmentType
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Entity

Collection of AttachmentType

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Entity": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "Description": "sample string 3",
      "Category": "sample string 4"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "Description": "sample string 3",
      "Category": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<ResponseOfArrayOfAttachmentType2S00F5YC xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnePlan.Core">
  <Entity xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebApiClaims.Proxies.Models">
    <d2p1:AttachmentType>
      <d2p1:Category>sample string 4</d2p1:Category>
      <d2p1:Description>sample string 3</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:AttachmentType>
    <d2p1:AttachmentType>
      <d2p1:Category>sample string 4</d2p1:Category>
      <d2p1:Description>sample string 3</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:AttachmentType>
  </Entity>
  <Message>sample string 2</Message>
  <Success>true</Success>
</ResponseOfArrayOfAttachmentType2S00F5YC>