GET api/lead/appeals?appealClientId={appealClientId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
appealClientId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetAllAppealsResponseName | Description | Type | Additional information |
---|---|---|---|
Appeals | Collection of AppealItemData |
None. |
|
ResultQueryInfo |
Сообщения |
ResultQueryInfoContainer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Appeals": [ { "Id": 1, "IsEdit": true, "AppealTypeId": 2, "AppealTypeName": "sample string 3", "ClientId": 1, "ClientName": "sample string 4", "Text": "sample string 5", "Comment": "sample string 6", "CreateDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "UserId": 1, "UserName": "sample string 7", "IsFromClient": true, "ContactInfo": "sample string 9", "IsSendEmail": true, "IsUpdateClientEmail": true, "IsHaveSentMail": true, "LeadId": 1, "PhoneCall": { "Id": 1, "ExternalId": "sample string 2", "RecordingId": "sample string 3", "CallInit": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "CallStart": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "CallEnd": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "FromUserId": 1, "FromUserName": "sample string 4", "FromUserFirstName": "sample string 5", "FromUserMiddleName": "sample string 6", "ToUserId": 1, "ToUserName": "sample string 7", "ToUserFirstName": "sample string 8", "ToUserMiddleName": "sample string 9", "FromClientId": 1, "FromClientName": "sample string 10", "FromClientFirstName": "sample string 11", "FromClientMiddleName": "sample string 12", "ToClientId": 1, "ToClientName": "sample string 13", "ToClientFirstName": "sample string 14", "ToClientMiddleName": "sample string 15", "LeadId": 1, "LeadName": "sample string 16", "FromNumber": "sample string 17", "ToNumber": "sample string 18", "DisconnectedReason": 1, "PreviousCallId": 1, "PreviousCallExternalId": "sample string 19", "FromPartnerId": 1, "ToPartnerId": 1, "ToPartnerName": "sample string 20", "FromPartnerName": "sample string 21", "ExternalNumber": "sample string 22", "CalledNumbers": [ "sample string 1", "sample string 2" ], "Tags": [ { "EntityId": 1, "EntityTypeId": 2, "Name": "sample string 3", "TagId": 4 }, { "EntityId": 1, "EntityTypeId": 2, "Name": "sample string 3", "TagId": 4 } ] } }, { "Id": 1, "IsEdit": true, "AppealTypeId": 2, "AppealTypeName": "sample string 3", "ClientId": 1, "ClientName": "sample string 4", "Text": "sample string 5", "Comment": "sample string 6", "CreateDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "UserId": 1, "UserName": "sample string 7", "IsFromClient": true, "ContactInfo": "sample string 9", "IsSendEmail": true, "IsUpdateClientEmail": true, "IsHaveSentMail": true, "LeadId": 1, "PhoneCall": { "Id": 1, "ExternalId": "sample string 2", "RecordingId": "sample string 3", "CallInit": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "CallStart": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "CallEnd": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "FromUserId": 1, "FromUserName": "sample string 4", "FromUserFirstName": "sample string 5", "FromUserMiddleName": "sample string 6", "ToUserId": 1, "ToUserName": "sample string 7", "ToUserFirstName": "sample string 8", "ToUserMiddleName": "sample string 9", "FromClientId": 1, "FromClientName": "sample string 10", "FromClientFirstName": "sample string 11", "FromClientMiddleName": "sample string 12", "ToClientId": 1, "ToClientName": "sample string 13", "ToClientFirstName": "sample string 14", "ToClientMiddleName": "sample string 15", "LeadId": 1, "LeadName": "sample string 16", "FromNumber": "sample string 17", "ToNumber": "sample string 18", "DisconnectedReason": 1, "PreviousCallId": 1, "PreviousCallExternalId": "sample string 19", "FromPartnerId": 1, "ToPartnerId": 1, "ToPartnerName": "sample string 20", "FromPartnerName": "sample string 21", "ExternalNumber": "sample string 22", "CalledNumbers": [ "sample string 1", "sample string 2" ], "Tags": [ { "EntityId": 1, "EntityTypeId": 2, "Name": "sample string 3", "TagId": 4 }, { "EntityId": 1, "EntityTypeId": 2, "Name": "sample string 3", "TagId": 4 } ] } } ], "RedirectUrl": "sample string 1", "ResultQueryInfo": { "ResultsCount": 1, "HasError": false, "Info": [], "CacheStorageTimeEnd": true, "RefreshPeriod": 0, "DelFromCacheDateTime": "2024-11-23T17:28:24.3104914+03:00", "UserMessages": "", "UserMessagesHtml": "" } }
application/xml, text/xml
Sample:
<GetAllAppealsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Lead.Contract"> <RedirectUrl xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">sample string 1</RedirectUrl> <ResultQueryInfo xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <_x003C_DelFromCacheDateTime_x003E_k__BackingField>2024-11-23T17:28:24.3104914+03:00</_x003C_DelFromCacheDateTime_x003E_k__BackingField> <_x003C_ResultsCount_x003E_k__BackingField>1</_x003C_ResultsCount_x003E_k__BackingField> <info /> </ResultQueryInfo> <Appeals xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Appeal.Contract"> <d2p1:AppealItemData> <d2p1:AppealTypeId>2</d2p1:AppealTypeId> <d2p1:AppealTypeName>sample string 3</d2p1:AppealTypeName> <d2p1:ClientId>1</d2p1:ClientId> <d2p1:ClientName>sample string 4</d2p1:ClientName> <d2p1:Comment>sample string 6</d2p1:Comment> <d2p1:ContactInfo>sample string 9</d2p1:ContactInfo> <d2p1:CreateDate xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d4p1:_format>sample string 4</d4p1:_format> <d4p1:_serialized>01.01.1970</d4p1:_serialized> <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value> </d2p1:CreateDate> <d2p1:Id>1</d2p1:Id> <d2p1:IsEdit>true</d2p1:IsEdit> <d2p1:IsFromClient>true</d2p1:IsFromClient> <d2p1:IsHaveSentMail>true</d2p1:IsHaveSentMail> <d2p1:IsSendEmail>true</d2p1:IsSendEmail> <d2p1:IsUpdateClientEmail>true</d2p1:IsUpdateClientEmail> <d2p1:LeadId>1</d2p1:LeadId> <d2p1:Text>sample string 5</d2p1:Text> <d2p1:UserId>1</d2p1:UserId> <d2p1:UserName>sample string 7</d2p1:UserName> </d2p1:AppealItemData> <d2p1:AppealItemData> <d2p1:AppealTypeId>2</d2p1:AppealTypeId> <d2p1:AppealTypeName>sample string 3</d2p1:AppealTypeName> <d2p1:ClientId>1</d2p1:ClientId> <d2p1:ClientName>sample string 4</d2p1:ClientName> <d2p1:Comment>sample string 6</d2p1:Comment> <d2p1:ContactInfo>sample string 9</d2p1:ContactInfo> <d2p1:CreateDate xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d4p1:_format>sample string 4</d4p1:_format> <d4p1:_serialized>01.01.1970</d4p1:_serialized> <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value> </d2p1:CreateDate> <d2p1:Id>1</d2p1:Id> <d2p1:IsEdit>true</d2p1:IsEdit> <d2p1:IsFromClient>true</d2p1:IsFromClient> <d2p1:IsHaveSentMail>true</d2p1:IsHaveSentMail> <d2p1:IsSendEmail>true</d2p1:IsSendEmail> <d2p1:IsUpdateClientEmail>true</d2p1:IsUpdateClientEmail> <d2p1:LeadId>1</d2p1:LeadId> <d2p1:Text>sample string 5</d2p1:Text> <d2p1:UserId>1</d2p1:UserId> <d2p1:UserName>sample string 7</d2p1:UserName> </d2p1:AppealItemData> </Appeals> </GetAllAppealsResponse>