GET api/Calls/GetReasons?AccountId={AccountId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PropertyReasonDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| AccountId | integer |
None. |
|
| BrancheId | integer |
None. |
|
| Lable | string |
None. |
|
| ReasonCode | string |
None. |
|
| Description | string |
None. |
|
| Active | boolean |
None. |
|
| CreateUser | integer |
None. |
|
| CreateDate | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"AccountId": 1,
"BrancheId": 1,
"Lable": "sample string 2",
"ReasonCode": "sample string 3",
"Description": "sample string 4",
"Active": true,
"CreateUser": 1,
"CreateDate": "2026-03-17T16:51:58.8912459-07:00"
},
{
"Id": 1,
"AccountId": 1,
"BrancheId": 1,
"Lable": "sample string 2",
"ReasonCode": "sample string 3",
"Description": "sample string 4",
"Active": true,
"CreateUser": 1,
"CreateDate": "2026-03-17T16:51:58.8912459-07:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfPropertyReasonDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectServicesAPI.DTO">
<PropertyReasonDTO>
<AccountId>1</AccountId>
<Active>true</Active>
<BrancheId>1</BrancheId>
<CreateDate>2026-03-17T16:51:58.8912459-07:00</CreateDate>
<CreateUser>1</CreateUser>
<Description>sample string 4</Description>
<Id>1</Id>
<Lable>sample string 2</Lable>
<ReasonCode>sample string 3</ReasonCode>
</PropertyReasonDTO>
<PropertyReasonDTO>
<AccountId>1</AccountId>
<Active>true</Active>
<BrancheId>1</BrancheId>
<CreateDate>2026-03-17T16:51:58.8912459-07:00</CreateDate>
<CreateUser>1</CreateUser>
<Description>sample string 4</Description>
<Id>1</Id>
<Lable>sample string 2</Lable>
<ReasonCode>sample string 3</ReasonCode>
</PropertyReasonDTO>
</ArrayOfPropertyReasonDTO>