POST api/Lead/SetNewLead
Request Information
URI Parameters
None.
Body Parameters
SetLeadRequestName | Description | Type | Additional information |
---|---|---|---|
Origine | integer |
None. |
|
Tipo | integer |
None. |
|
CountryNation | string |
None. |
|
Modello | string |
None. |
|
MachineCode | string |
None. |
|
FamigliaProdotto | string |
None. |
|
SottoFamigliaProdotto | string |
None. |
|
Make | string |
None. |
|
Societa | string |
None. |
|
string |
None. |
||
FirstName | string |
None. |
|
LastName | string |
None. |
|
Telefono | string |
None. |
|
Messaggio | string |
None. |
|
FlagPrivacy | boolean |
None. |
|
FlagNewsletter | boolean |
None. |
|
IndustryCode | integer |
None. |
|
ApplicationInfo | ApplicationData |
None. |
|
Device | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Origine": 1, "Tipo": 2, "CountryNation": "sample string 3", "Modello": "sample string 4", "MachineCode": "sample string 5", "FamigliaProdotto": "sample string 6", "SottoFamigliaProdotto": "sample string 7", "Make": "sample string 8", "Societa": "sample string 9", "Email": "sample string 10", "FirstName": "sample string 11", "LastName": "sample string 12", "Telefono": "sample string 13", "Messaggio": "sample string 14", "FlagPrivacy": true, "FlagNewsletter": true, "IndustryCode": 17, "ApplicationInfo": { "ApplicationId": "sample string 1", "ApplicationKey": "sample string 2" }, "Device": "sample string 18" }
application/xml, text/xml
Sample:
<SetLeadRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reply.Ferwood.Crm.Service.Messages"> <ApplicationInfo xmlns="http://schemas.datacontract.org/2004/07/Reply.IntegrationServices.Messages"> <ApplicationId>sample string 1</ApplicationId> <ApplicationKey>sample string 2</ApplicationKey> </ApplicationInfo> <Device xmlns="http://schemas.datacontract.org/2004/07/Reply.IntegrationServices.Messages">sample string 18</Device> <CountryNation>sample string 3</CountryNation> <Email>sample string 10</Email> <FamigliaProdotto>sample string 6</FamigliaProdotto> <FirstName>sample string 11</FirstName> <FlagNewsletter>true</FlagNewsletter> <FlagPrivacy>true</FlagPrivacy> <IndustryCode>17</IndustryCode> <LastName>sample string 12</LastName> <MachineCode>sample string 5</MachineCode> <Make>sample string 8</Make> <Messaggio>sample string 14</Messaggio> <Modello>sample string 4</Modello> <Origine>1</Origine> <Societa>sample string 9</Societa> <SottoFamigliaProdotto>sample string 7</SottoFamigliaProdotto> <Telefono>sample string 13</Telefono> <Tipo>2</Tipo> </SetLeadRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SetLeadResponseName | Description | Type | Additional information |
---|---|---|---|
Messaggio | string |
None. |
|
Id | string |
None. |
|
Name | string |
None. |
|
IsSuccessful | boolean |
None. |
|
Detail | string |
None. |
|
Version | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Messaggio": "sample string 1", "Id": "sample string 2", "Name": "sample string 3", "IsSuccessful": true, "Detail": "sample string 5", "Version": "sample string 6" }
application/xml, text/xml
Sample:
<SetLeadResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reply.Ferwood.Crm.Service.Messages"> <Detail xmlns="http://schemas.datacontract.org/2004/07/Reply.IntegrationServices.Messages">sample string 5</Detail> <IsSuccessful xmlns="http://schemas.datacontract.org/2004/07/Reply.IntegrationServices.Messages">true</IsSuccessful> <Version xmlns="http://schemas.datacontract.org/2004/07/Reply.IntegrationServices.Messages">sample string 6</Version> <Id>sample string 2</Id> <Messaggio>sample string 1</Messaggio> <Name>sample string 3</Name> </SetLeadResponse>