PATCH api/Referrals
Permite Actualizar los datos de un referido del cliente, mientras no haya sido contactado
Request Information
URI Parameters
None.
Body Parameters
UpdateReferral| Name | Description | Type | Additional information |
|---|---|---|---|
| Phone | string |
Required |
|
| Relationship | string |
Required |
|
| ID | globally unique identifier |
Required |
|
| string |
Required |
||
| TerminalID | integer |
Required |
|
| SourceChannelID | integer |
Required |
|
| Referrer | string |
None. |
|
| LeadSourceID | integer |
None. |
|
| IPv4 | string |
None. |
|
| TrackingID | globally unique identifier |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Phone": "sample string 1",
"Relationship": "sample string 2",
"ID": "e365e9b2-5759-47b0-8ea7-1419485728bd",
"Email": "sample string 4",
"TerminalID": 5,
"SourceChannelID": 6,
"Referrer": "sample string 7",
"LeadSourceID": 8,
"IPv4": "sample string 9",
"TrackingID": "e39c60a7-d970-4dfe-bc35-ea7205f2d129",
"FirstName": "sample string 10",
"LastName": "sample string 11"
}
application/xml, text/xml
Sample:
<ApiReferralsViewModel.UpdateReferral xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePlat.Models.ViewModels"> <FirstName>sample string 10</FirstName> <LastName>sample string 11</LastName> <Email>sample string 4</Email> <IPv4>sample string 9</IPv4> <LeadSourceID>8</LeadSourceID> <Referrer>sample string 7</Referrer> <SourceChannelID>6</SourceChannelID> <TerminalID>5</TerminalID> <TrackingID>e39c60a7-d970-4dfe-bc35-ea7205f2d129</TrackingID> <ID>e365e9b2-5759-47b0-8ea7-1419485728bd</ID> <Phone>sample string 1</Phone> <Relationship>sample string 2</Relationship> </ApiReferralsViewModel.UpdateReferral>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AttemptResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Type | Attempt_ResponseTypes |
None. |
|
| Exception | Exception |
None. |
|
| ObjectID | Object |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Type": 0,
"Exception": {
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
},
"ObjectID": {},
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<AttemptResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePlat.Models.Utils">
<Exception xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
<Message i:nil="true" xmlns="" />
<Data i:nil="true" xmlns="" />
<InnerException i:nil="true" xmlns="" />
<HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
<StackTraceString i:nil="true" xmlns="" />
<RemoteStackTraceString i:nil="true" xmlns="" />
<RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
<ExceptionMethod i:nil="true" xmlns="" />
<HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
<Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
<WatsonBuckets i:nil="true" xmlns="" />
</Exception>
<Message>sample string 2</Message>
<ObjectID />
<Type>Warning</Type>
</AttemptResponse>