POST api/VOC/GetListComplaintByTag

Request Information

URI Parameters

None.

Body Parameters

RequestTagId
NameDescriptionTypeAdditional information
TagId

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfListOfComplaintByUserIdModel
NameDescriptionTypeAdditional information
Data

Collection of ComplaintByUserIdModel

None.

Status

boolean

None.

ErrorMessage

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "AcceptDate": "sample string 1",
      "AccidentLocation": "sample string 2",
      "Attachments": [
        {
          "AttachmentId": "sample string 1",
          "CreateDate": "sample string 2",
          "Description": "sample string 3",
          "FileName": "sample string 4",
          "MimeType": "sample string 5"
        },
        {
          "AttachmentId": "sample string 1",
          "CreateDate": "sample string 2",
          "Description": "sample string 3",
          "FileName": "sample string 4",
          "MimeType": "sample string 5"
        }
      ],
      "CaNo": "sample string 3",
      "CancelDate": "sample string 4",
      "CitizenNumber": "sample string 5",
      "CloseDate": "sample string 6",
      "ComplaintId": "sample string 7",
      "ComplaintNo": "sample string 8",
      "ContactAddress": "sample string 9",
      "CreateDate": "sample string 10",
      "CustomerTypeId": "sample string 11",
      "CustomerTypeName": "sample string 12",
      "Detail": "sample string 13",
      "Logs": [
        {
          "Detail": "sample string 1",
          "LogDate": "sample string 2",
          "Status": "sample string 3",
          "StatusEn": "sample string 4",
          "StatusTh": "sample string 5"
        },
        {
          "Detail": "sample string 1",
          "LogDate": "sample string 2",
          "Status": "sample string 3",
          "StatusEn": "sample string 4",
          "StatusTh": "sample string 5"
        }
      ],
      "PeaCode": "sample string 14",
      "PeaName": "sample string 15",
      "ProvinceId": "sample string 16",
      "ProvinceName": "sample string 17",
      "Remark": "sample string 18",
      "Status": "sample string 19",
      "StatusEn": "sample string 20",
      "StatusTh": "sample string 21",
      "SubtypeId": "sample string 22",
      "SubtypeName": "sample string 23",
      "TagId": "sample string 24",
      "TagName": "sample string 25",
      "TypeId": "sample string 26",
      "TypeName": "sample string 27"
    },
    {
      "AcceptDate": "sample string 1",
      "AccidentLocation": "sample string 2",
      "Attachments": [
        {
          "AttachmentId": "sample string 1",
          "CreateDate": "sample string 2",
          "Description": "sample string 3",
          "FileName": "sample string 4",
          "MimeType": "sample string 5"
        },
        {
          "AttachmentId": "sample string 1",
          "CreateDate": "sample string 2",
          "Description": "sample string 3",
          "FileName": "sample string 4",
          "MimeType": "sample string 5"
        }
      ],
      "CaNo": "sample string 3",
      "CancelDate": "sample string 4",
      "CitizenNumber": "sample string 5",
      "CloseDate": "sample string 6",
      "ComplaintId": "sample string 7",
      "ComplaintNo": "sample string 8",
      "ContactAddress": "sample string 9",
      "CreateDate": "sample string 10",
      "CustomerTypeId": "sample string 11",
      "CustomerTypeName": "sample string 12",
      "Detail": "sample string 13",
      "Logs": [
        {
          "Detail": "sample string 1",
          "LogDate": "sample string 2",
          "Status": "sample string 3",
          "StatusEn": "sample string 4",
          "StatusTh": "sample string 5"
        },
        {
          "Detail": "sample string 1",
          "LogDate": "sample string 2",
          "Status": "sample string 3",
          "StatusEn": "sample string 4",
          "StatusTh": "sample string 5"
        }
      ],
      "PeaCode": "sample string 14",
      "PeaName": "sample string 15",
      "ProvinceId": "sample string 16",
      "ProvinceName": "sample string 17",
      "Remark": "sample string 18",
      "Status": "sample string 19",
      "StatusEn": "sample string 20",
      "StatusTh": "sample string 21",
      "SubtypeId": "sample string 22",
      "SubtypeName": "sample string 23",
      "TagId": "sample string 24",
      "TagName": "sample string 25",
      "TypeId": "sample string 26",
      "TypeName": "sample string 27"
    }
  ],
  "Status": true,
  "ErrorMessage": "sample string 2",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<ResultModelOfArrayOfVOCModels.ComplaintByUserIdModelViargZ6v 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.ComplaintByUserIdModel>
      <d2p1:AcceptDate>sample string 1</d2p1:AcceptDate>
      <d2p1:AccidentLocation>sample string 2</d2p1:AccidentLocation>
      <d2p1:Attachments>
        <d2p1:VOCModels.AttachmentsModel>
          <d2p1:AttachmentId>sample string 1</d2p1:AttachmentId>
          <d2p1:CreateDate>sample string 2</d2p1:CreateDate>
          <d2p1:Description>sample string 3</d2p1:Description>
          <d2p1:FileName>sample string 4</d2p1:FileName>
          <d2p1:MimeType>sample string 5</d2p1:MimeType>
        </d2p1:VOCModels.AttachmentsModel>
        <d2p1:VOCModels.AttachmentsModel>
          <d2p1:AttachmentId>sample string 1</d2p1:AttachmentId>
          <d2p1:CreateDate>sample string 2</d2p1:CreateDate>
          <d2p1:Description>sample string 3</d2p1:Description>
          <d2p1:FileName>sample string 4</d2p1:FileName>
          <d2p1:MimeType>sample string 5</d2p1:MimeType>
        </d2p1:VOCModels.AttachmentsModel>
      </d2p1:Attachments>
      <d2p1:CaNo>sample string 3</d2p1:CaNo>
      <d2p1:CancelDate>sample string 4</d2p1:CancelDate>
      <d2p1:CitizenNumber>sample string 5</d2p1:CitizenNumber>
      <d2p1:CloseDate>sample string 6</d2p1:CloseDate>
      <d2p1:ComplaintId>sample string 7</d2p1:ComplaintId>
      <d2p1:ComplaintNo>sample string 8</d2p1:ComplaintNo>
      <d2p1:ContactAddress>sample string 9</d2p1:ContactAddress>
      <d2p1:CreateDate>sample string 10</d2p1:CreateDate>
      <d2p1:CustomerTypeId>sample string 11</d2p1:CustomerTypeId>
      <d2p1:CustomerTypeName>sample string 12</d2p1:CustomerTypeName>
      <d2p1:Detail>sample string 13</d2p1:Detail>
      <d2p1:Logs>
        <d2p1:VOCModels.LogsModel>
          <d2p1:Detail>sample string 1</d2p1:Detail>
          <d2p1:LogDate>sample string 2</d2p1:LogDate>
          <d2p1:Status>sample string 3</d2p1:Status>
          <d2p1:StatusEn>sample string 4</d2p1:StatusEn>
          <d2p1:StatusTh>sample string 5</d2p1:StatusTh>
        </d2p1:VOCModels.LogsModel>
        <d2p1:VOCModels.LogsModel>
          <d2p1:Detail>sample string 1</d2p1:Detail>
          <d2p1:LogDate>sample string 2</d2p1:LogDate>
          <d2p1:Status>sample string 3</d2p1:Status>
          <d2p1:StatusEn>sample string 4</d2p1:StatusEn>
          <d2p1:StatusTh>sample string 5</d2p1:StatusTh>
        </d2p1:VOCModels.LogsModel>
      </d2p1:Logs>
      <d2p1:PeaCode>sample string 14</d2p1:PeaCode>
      <d2p1:PeaName>sample string 15</d2p1:PeaName>
      <d2p1:ProvinceId>sample string 16</d2p1:ProvinceId>
      <d2p1:ProvinceName>sample string 17</d2p1:ProvinceName>
      <d2p1:Remark>sample string 18</d2p1:Remark>
      <d2p1:Status>sample string 19</d2p1:Status>
      <d2p1:StatusEn>sample string 20</d2p1:StatusEn>
      <d2p1:StatusTh>sample string 21</d2p1:StatusTh>
      <d2p1:SubtypeId>sample string 22</d2p1:SubtypeId>
      <d2p1:SubtypeName>sample string 23</d2p1:SubtypeName>
      <d2p1:TagId>sample string 24</d2p1:TagId>
      <d2p1:TagName>sample string 25</d2p1:TagName>
      <d2p1:TypeId>sample string 26</d2p1:TypeId>
      <d2p1:TypeName>sample string 27</d2p1:TypeName>
    </d2p1:VOCModels.ComplaintByUserIdModel>
    <d2p1:VOCModels.ComplaintByUserIdModel>
      <d2p1:AcceptDate>sample string 1</d2p1:AcceptDate>
      <d2p1:AccidentLocation>sample string 2</d2p1:AccidentLocation>
      <d2p1:Attachments>
        <d2p1:VOCModels.AttachmentsModel>
          <d2p1:AttachmentId>sample string 1</d2p1:AttachmentId>
          <d2p1:CreateDate>sample string 2</d2p1:CreateDate>
          <d2p1:Description>sample string 3</d2p1:Description>
          <d2p1:FileName>sample string 4</d2p1:FileName>
          <d2p1:MimeType>sample string 5</d2p1:MimeType>
        </d2p1:VOCModels.AttachmentsModel>
        <d2p1:VOCModels.AttachmentsModel>
          <d2p1:AttachmentId>sample string 1</d2p1:AttachmentId>
          <d2p1:CreateDate>sample string 2</d2p1:CreateDate>
          <d2p1:Description>sample string 3</d2p1:Description>
          <d2p1:FileName>sample string 4</d2p1:FileName>
          <d2p1:MimeType>sample string 5</d2p1:MimeType>
        </d2p1:VOCModels.AttachmentsModel>
      </d2p1:Attachments>
      <d2p1:CaNo>sample string 3</d2p1:CaNo>
      <d2p1:CancelDate>sample string 4</d2p1:CancelDate>
      <d2p1:CitizenNumber>sample string 5</d2p1:CitizenNumber>
      <d2p1:CloseDate>sample string 6</d2p1:CloseDate>
      <d2p1:ComplaintId>sample string 7</d2p1:ComplaintId>
      <d2p1:ComplaintNo>sample string 8</d2p1:ComplaintNo>
      <d2p1:ContactAddress>sample string 9</d2p1:ContactAddress>
      <d2p1:CreateDate>sample string 10</d2p1:CreateDate>
      <d2p1:CustomerTypeId>sample string 11</d2p1:CustomerTypeId>
      <d2p1:CustomerTypeName>sample string 12</d2p1:CustomerTypeName>
      <d2p1:Detail>sample string 13</d2p1:Detail>
      <d2p1:Logs>
        <d2p1:VOCModels.LogsModel>
          <d2p1:Detail>sample string 1</d2p1:Detail>
          <d2p1:LogDate>sample string 2</d2p1:LogDate>
          <d2p1:Status>sample string 3</d2p1:Status>
          <d2p1:StatusEn>sample string 4</d2p1:StatusEn>
          <d2p1:StatusTh>sample string 5</d2p1:StatusTh>
        </d2p1:VOCModels.LogsModel>
        <d2p1:VOCModels.LogsModel>
          <d2p1:Detail>sample string 1</d2p1:Detail>
          <d2p1:LogDate>sample string 2</d2p1:LogDate>
          <d2p1:Status>sample string 3</d2p1:Status>
          <d2p1:StatusEn>sample string 4</d2p1:StatusEn>
          <d2p1:StatusTh>sample string 5</d2p1:StatusTh>
        </d2p1:VOCModels.LogsModel>
      </d2p1:Logs>
      <d2p1:PeaCode>sample string 14</d2p1:PeaCode>
      <d2p1:PeaName>sample string 15</d2p1:PeaName>
      <d2p1:ProvinceId>sample string 16</d2p1:ProvinceId>
      <d2p1:ProvinceName>sample string 17</d2p1:ProvinceName>
      <d2p1:Remark>sample string 18</d2p1:Remark>
      <d2p1:Status>sample string 19</d2p1:Status>
      <d2p1:StatusEn>sample string 20</d2p1:StatusEn>
      <d2p1:StatusTh>sample string 21</d2p1:StatusTh>
      <d2p1:SubtypeId>sample string 22</d2p1:SubtypeId>
      <d2p1:SubtypeName>sample string 23</d2p1:SubtypeName>
      <d2p1:TagId>sample string 24</d2p1:TagId>
      <d2p1:TagName>sample string 25</d2p1:TagName>
      <d2p1:TypeId>sample string 26</d2p1:TypeId>
      <d2p1:TypeName>sample string 27</d2p1:TypeName>
    </d2p1:VOCModels.ComplaintByUserIdModel>
  </Data>
  <ErrorMessage>sample string 2</ErrorMessage>
  <Message>sample string 3</Message>
  <Status>true</Status>
</ResultModelOfArrayOfVOCModels.ComplaintByUserIdModelViargZ6v>