POST api/StatementList

Request Information

URI Parameters

None.

Body Parameters

BranchListBody
NameDescriptionTypeAdditional information
EmployeeId

integer

None.

ParentBranchId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeId": 1,
  "ParentBranchId": 2
}

application/xml, text/xml

Sample:
<BranchListBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LISCAREWEBAPI.Models">
  <EmployeeId>1</EmployeeId>
  <ParentBranchId>2</ParentBranchId>
</BranchListBody>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StatementList
NameDescriptionTypeAdditional information
status

Collection of Status

None.

statementlist

Collection of Statements

None.

PromptValue

PromptValues

None.

Response Formats

application/json, text/json

Sample:
{
  "status": [
    {
      "status": "sample string 1",
      "Error": "sample string 2",
      "Message": "sample string 3"
    },
    {
      "status": "sample string 1",
      "Error": "sample string 2",
      "Message": "sample string 3"
    }
  ],
  "statementlist": [
    {
      "StatementDisplayName": "sample string 1",
      "StatementName": "sample string 2",
      "StatementOrder": 3,
      "PromptType": 4,
      "BranchType": "sample string 5",
      "StatementImage": "sample string 6"
    },
    {
      "StatementDisplayName": "sample string 1",
      "StatementName": "sample string 2",
      "StatementOrder": 3,
      "PromptType": 4,
      "BranchType": "sample string 5",
      "StatementImage": "sample string 6"
    }
  ],
  "PromptValue": {
    "BranchList": [
      {
        "BranchName": "sample string 1",
        "BranchId": 2,
        "ParentBranchId": 3,
        "BranchImage": "sample string 4"
      },
      {
        "BranchName": "sample string 1",
        "BranchId": 2,
        "ParentBranchId": 3,
        "BranchImage": "sample string 4"
      }
    ],
    "BranchList_All": [
      {
        "BranchName": "sample string 1",
        "BranchId": 2,
        "ParentBranchId": 3,
        "BranchImage": "sample string 4"
      },
      {
        "BranchName": "sample string 1",
        "BranchId": 2,
        "ParentBranchId": 3,
        "BranchImage": "sample string 4"
      }
    ],
    "CorporateList": [
      {
        "CorporateName": "sample string 1",
        "CorporateId": 2
      },
      {
        "CorporateName": "sample string 1",
        "CorporateId": 2
      }
    ],
    "UserList": [
      {
        "UserName": "sample string 1",
        "UserId": 2
      },
      {
        "UserName": "sample string 1",
        "UserId": 2
      }
    ]
  }
}

application/xml, text/xml

Sample:
<StatementList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LISCAREWEBAPI.Models">
  <PromptValue>
    <BranchList>
      <BrchLists>
        <BranchId>2</BranchId>
        <BranchImage>sample string 4</BranchImage>
        <BranchName>sample string 1</BranchName>
        <ParentBranchId>3</ParentBranchId>
      </BrchLists>
      <BrchLists>
        <BranchId>2</BranchId>
        <BranchImage>sample string 4</BranchImage>
        <BranchName>sample string 1</BranchName>
        <ParentBranchId>3</ParentBranchId>
      </BrchLists>
    </BranchList>
    <BranchList_All>
      <BrchLists>
        <BranchId>2</BranchId>
        <BranchImage>sample string 4</BranchImage>
        <BranchName>sample string 1</BranchName>
        <ParentBranchId>3</ParentBranchId>
      </BrchLists>
      <BrchLists>
        <BranchId>2</BranchId>
        <BranchImage>sample string 4</BranchImage>
        <BranchName>sample string 1</BranchName>
        <ParentBranchId>3</ParentBranchId>
      </BrchLists>
    </BranchList_All>
    <CorporateList>
      <Corplist>
        <CorporateId>2</CorporateId>
        <CorporateName>sample string 1</CorporateName>
      </Corplist>
      <Corplist>
        <CorporateId>2</CorporateId>
        <CorporateName>sample string 1</CorporateName>
      </Corplist>
    </CorporateList>
    <UserList>
      <usrlist>
        <UserId>2</UserId>
        <UserName>sample string 1</UserName>
      </usrlist>
      <usrlist>
        <UserId>2</UserId>
        <UserName>sample string 1</UserName>
      </usrlist>
    </UserList>
  </PromptValue>
  <statementlist>
    <Statements>
      <BranchType>sample string 5</BranchType>
      <PromptType>4</PromptType>
      <StatementDisplayName>sample string 1</StatementDisplayName>
      <StatementImage>sample string 6</StatementImage>
      <StatementName>sample string 2</StatementName>
      <StatementOrder>3</StatementOrder>
    </Statements>
    <Statements>
      <BranchType>sample string 5</BranchType>
      <PromptType>4</PromptType>
      <StatementDisplayName>sample string 1</StatementDisplayName>
      <StatementImage>sample string 6</StatementImage>
      <StatementName>sample string 2</StatementName>
      <StatementOrder>3</StatementOrder>
    </Statements>
  </statementlist>
  <status>
    <Status>
      <Error>sample string 2</Error>
      <Message>sample string 3</Message>
      <status>sample string 1</status>
    </Status>
    <Status>
      <Error>sample string 2</Error>
      <Message>sample string 3</Message>
      <status>sample string 1</status>
    </Status>
  </status>
</StatementList>