POST api/Augmentation
Allows an update of the lead's current status.
Request Information
URI Parameters
None.
Body Parameters
AugmentationHeaderName | Description | Type | Additional information |
---|---|---|---|
UserName | string |
None. |
|
Password | string |
None. |
|
DateSent | date |
None. |
|
AugmentationData | AugmentationData |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserName": "sample string 1", "Password": "sample string 2", "DateSent": "2024-05-08T03:59:23.4565389+02:00", "AugmentationData": { "LeadId": 1, "TargetCampaignCode": "sample string 2", "LeadStatus": 0, "StatusReason": "sample string 3", "CampaignRuleId": "64e41f23-ee37-477a-8f62-f1dea941443c", "LeadParameters": [ { "Key": "sample string 1", "Value": "sample string 2" }, { "Key": "sample string 1", "Value": "sample string 2" } ] } }
application/xml, text/xml
Sample:
<AugmentationHeader xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <UserName>sample string 1</UserName> <Password>sample string 2</Password> <DateSent>2024-05-08T03:59:23.4565389+02:00</DateSent> <AugmentationData> <LeadId>1</LeadId> <TargetCampaignCode>sample string 2</TargetCampaignCode> <LeadStatus>NewlyReceived</LeadStatus> <StatusReason>sample string 3</StatusReason> <CampaignRuleId>64e41f23-ee37-477a-8f62-f1dea941443c</CampaignRuleId> <LeadParameters> <LeadRequestParameter> <Key>sample string 1</Key> <Value>sample string 2</Value> </LeadRequestParameter> <LeadRequestParameter> <Key>sample string 1</Key> <Value>sample string 2</Value> </LeadRequestParameter> </LeadParameters> </AugmentationData> </AugmentationHeader>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Message | string |
None. |
|
DateStamp | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Message": "sample string 2", "DateStamp": "2024-05-08T03:59:23.5190578+02:00" }
application/xml, text/xml
Sample:
<Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Success>true</Success> <Message>sample string 2</Message> <DateStamp>2024-05-08T03:59:23.5190578+02:00</DateStamp> </Response>