POST api/Routing/ConfirmRoutedLead
Request Information
URI Parameters
None.
Body Parameters
ConfirmRoutedLeadPacketName | Description | Type | Additional information |
---|---|---|---|
ConfirmLeads | Collection of ConfirmLead |
None. |
|
Requestor | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "ConfirmLeads": [ { "LeadNumber": 1, "AppFlagStatusCode": 2, "DNCFlag": true }, { "LeadNumber": 1, "AppFlagStatusCode": 2, "DNCFlag": true } ], "Requestor": "sample string 1" }
application/xml, text/xml
Sample:
<ConfirmRoutedLeadPacket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMK.CSK.API.Models"> <Requestor>sample string 1</Requestor> <ConfirmLeads> <ConfirmLead> <AppFlagStatusCode>2</AppFlagStatusCode> <DNCFlag>true</DNCFlag> <LeadNumber>1</LeadNumber> </ConfirmLead> <ConfirmLead> <AppFlagStatusCode>2</AppFlagStatusCode> <DNCFlag>true</DNCFlag> <LeadNumber>1</LeadNumber> </ConfirmLead> </ConfirmLeads> </ConfirmRoutedLeadPacket>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ConfirmRoutedLeadResponseName | Description | Type | Additional information |
---|---|---|---|
StatusCode | integer |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "StatusCode": 1, "ErrorMessage": "sample string 2" }
application/xml, text/xml
Sample:
<ConfirmRoutedLeadResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMK.CSK.API.Models"> <ErrorMessage>sample string 2</ErrorMessage> <StatusCode>1</StatusCode> </ConfirmRoutedLeadResponse>