GET api/OtherDocumentTypes?includeInactive={includeInactive}

Return all active other document types

Request Information

URI Parameters

NameDescriptionTypeAdditional information
includeInactive

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

List of Other DocumentType

ServiceResultTypedOfListOfOtherDocumentType
NameDescriptionTypeAdditional information
Code

integer

None.

Errors

Collection of string

None.

Data

Collection of OtherDocumentType

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Errors": [
    "sample string 1",
    "sample string 2"
  ],
  "Data": [
    {
      "OtherDocumentTypeId": 1,
      "DocumentName": "sample string 2",
      "SeqNo": 3,
      "IsActive": true,
      "OtherType": 5
    },
    {
      "OtherDocumentTypeId": 1,
      "DocumentName": "sample string 2",
      "SeqNo": 3,
      "IsActive": true,
      "OtherType": 5
    }
  ]
}

text/html

Sample:
{"Code":1,"Errors":["sample string 1","sample string 2"],"Data":[{"OtherDocumentTypeId":1,"DocumentName":"sample string 2","SeqNo":3,"IsActive":true,"OtherType":5},{"OtherDocumentTypeId":1,"DocumentName":"sample string 2","SeqNo":3,"IsActive":true,"OtherType":5}]}

application/xml, text/xml

Sample:
<ServiceResultTypedOfArrayOfOtherDocumentTypeYj8O1tFc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSW.Common.Models">
  <Code>1</Code>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TTMWM_MECLAIM_API.ViewModels">
    <d2p1:OtherDocumentType>
      <d2p1:DocumentName>sample string 2</d2p1:DocumentName>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:OtherDocumentTypeId>1</d2p1:OtherDocumentTypeId>
      <d2p1:OtherType>5</d2p1:OtherType>
      <d2p1:SeqNo>3</d2p1:SeqNo>
    </d2p1:OtherDocumentType>
    <d2p1:OtherDocumentType>
      <d2p1:DocumentName>sample string 2</d2p1:DocumentName>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:OtherDocumentTypeId>1</d2p1:OtherDocumentTypeId>
      <d2p1:OtherType>5</d2p1:OtherType>
      <d2p1:SeqNo>3</d2p1:SeqNo>
    </d2p1:OtherDocumentType>
  </Data>
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
</ServiceResultTypedOfArrayOfOtherDocumentTypeYj8O1tFc>