GET api/ClaimAutomation/ListTreatments

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Treatment
NameDescriptionTypeAdditional information
TreatmentId

globally unique identifier

None.

Name

string

None.

IsDeduction

boolean

None.

IsTreatment

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TreatmentId": "7b9aa954-d5d2-4c36-a21d-839c0083af8d",
    "Name": "sample string 2",
    "IsDeduction": true,
    "IsTreatment": true
  },
  {
    "TreatmentId": "7b9aa954-d5d2-4c36-a21d-839c0083af8d",
    "Name": "sample string 2",
    "IsDeduction": true,
    "IsTreatment": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfTreatment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models">
  <Treatment>
    <IsDeduction>true</IsDeduction>
    <IsTreatment>true</IsTreatment>
    <Name>sample string 2</Name>
    <TreatmentId>7b9aa954-d5d2-4c36-a21d-839c0083af8d</TreatmentId>
  </Treatment>
  <Treatment>
    <IsDeduction>true</IsDeduction>
    <IsTreatment>true</IsTreatment>
    <Name>sample string 2</Name>
    <TreatmentId>7b9aa954-d5d2-4c36-a21d-839c0083af8d</TreatmentId>
  </Treatment>
</ArrayOfTreatment>