POST api/VOC/GetListComplaintSubTypes

Request Information

URI Parameters

None.

Body Parameters

RequestComplaintTypeId
NameDescriptionTypeAdditional information
ComplaintTypeId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ComplaintTypeId": "sample string 1"
}

application/xml, text/xml

Sample:
<VOCModels.RequestComplaintTypeId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.VOCModels">
  <ComplaintTypeId>sample string 1</ComplaintTypeId>
</VOCModels.RequestComplaintTypeId>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfListOfComplaintSubTypesView
NameDescriptionTypeAdditional information
Data

Collection of ComplaintSubTypesView

None.

Status

boolean

None.

ErrorMessage

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    {
      "Id": "sample string 1",
      "Name": "sample string 2"
    }
  ],
  "Status": true,
  "ErrorMessage": "sample string 2",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<ResultModelOfArrayOfVOCModels.ComplaintSubTypesViewViargZ6v xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.VOCModels">
    <d2p1:VOCModels.ComplaintSubTypesView>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:VOCModels.ComplaintSubTypesView>
    <d2p1:VOCModels.ComplaintSubTypesView>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:VOCModels.ComplaintSubTypesView>
  </Data>
  <ErrorMessage>sample string 2</ErrorMessage>
  <Message>sample string 3</Message>
  <Status>true</Status>
</ResultModelOfArrayOfVOCModels.ComplaintSubTypesViewViargZ6v>