POST api/TwigsReport/get_branch_list

Request Information

URI Parameters

None.

Body Parameters

twigs_input
NameDescriptionTypeAdditional information
to_date

date

None.

from_date

date

None.

branch_id

integer

None.

connection_string

string

None.

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "to_date": "2025-12-21T07:55:00.9684665+04:00",
  "from_date": "2025-12-21T07:55:00.9684665+04:00",
  "branch_id": 3,
  "connection_string": "sample string 4",
  "token": "sample string 5"
}

application/xml, text/xml

Sample:
<twigs_input xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromptTech.CRM.DAO">
  <branch_id>3</branch_id>
  <connection_string>sample string 4</connection_string>
  <from_date>2025-12-21T07:55:00.9684665+04:00</from_date>
  <to_date>2025-12-21T07:55:00.9684665+04:00</to_date>
  <token>sample string 5</token>
</twigs_input>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

twigs_branch_response
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

twigs_brnach_detailses

Collection of twigs_brnach_details

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "twigs_brnach_detailses": [
    {
      "id": 1,
      "name": "sample string 2"
    },
    {
      "id": 1,
      "name": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<twigs_branch_response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromptTech.CRM.CustomerApp.Models">
  <message>sample string 2</message>
  <success>true</success>
  <twigs_brnach_detailses>
    <twigs_brnach_details>
      <id>1</id>
      <name>sample string 2</name>
    </twigs_brnach_details>
    <twigs_brnach_details>
      <id>1</id>
      <name>sample string 2</name>
    </twigs_brnach_details>
  </twigs_brnach_detailses>
</twigs_branch_response>