POST api/lead/LeadInfo
Получение информации по лиду
Request Information
URI Parameters
None.
Body Parameters
LeadInfoRequestName | Description | Type | Additional information |
---|---|---|---|
Operator |
Идентификатор оператора |
integer |
None. |
Leads |
Идентификатор лида |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Operator": 1, "Leads": 2 }
application/xml, text/xml
Sample:
<LeadInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Request"> <Leads>2</Leads> <Operator>1</Operator> </LeadInfoRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LeadInfoResponseName | Description | Type | Additional information |
---|---|---|---|
Poscode |
Код торговой точки |
string |
None. |
Client |
Идентификатор клиента из таблицы client |
integer |
None. |
Type |
Идентификатор типа лида из таблицы leadtype |
integer |
None. |
Formname |
Наименование формы, из которой создаётся лид |
string |
None. |
Leadname |
ФИО лида |
string |
None. |
Phone |
Телефон лида |
integer |
None. |
E-mail лида |
string |
None. |
|
Cheque |
Идентификатор чека, на который ссылается лид |
integer |
None. |
Goods |
Идентификатор товара, на который ссылается лид |
integer |
None. |
Pos |
Идентификатор точки, на который ссылается лид |
integer |
None. |
Leadmark |
Оценка, которую поставил лид, отправляя сообщение |
integer |
None. |
Leaddata |
Данные о лиде |
LeadData |
None. |
ErrorCode |
Код ошибки |
integer |
None. |
Message |
Сообщение об ошибке |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Poscode": "sample string 1", "Client": 1, "Type": 2, "Formname": "sample string 3", "Leadname": "sample string 4", "Phone": 1, "Email": "sample string 5", "Cheque": 1, "Goods": 1, "Pos": 1, "Leadmark": 1, "Leaddata": { "File_rezume": "sample string 1", "Companyname": "sample string 2", "Companytype": "sample string 3", "Oiltype": "sample string 4", "Oilcontain": "sample string 5", "Storageperiod": "sample string 6", "Methodsample": "sample string 7", "Vacancyname": "sample string 8" }, "ErrorCode": 6, "Message": "sample string 7" }
application/xml, text/xml
Sample:
<LeadInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Response"> <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">6</ErrorCode> <Message xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">sample string 7</Message> <Cheque>1</Cheque> <Client>1</Client> <Email>sample string 5</Email> <Formname>sample string 3</Formname> <Goods>1</Goods> <Leaddata xmlns:d2p1="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Data"> <d2p1:Companyname>sample string 2</d2p1:Companyname> <d2p1:Companytype>sample string 3</d2p1:Companytype> <d2p1:File_rezume>sample string 1</d2p1:File_rezume> <d2p1:Methodsample>sample string 7</d2p1:Methodsample> <d2p1:Oilcontain>sample string 5</d2p1:Oilcontain> <d2p1:Oiltype>sample string 4</d2p1:Oiltype> <d2p1:Storageperiod>sample string 6</d2p1:Storageperiod> <d2p1:Vacancyname>sample string 8</d2p1:Vacancyname> </Leaddata> <Leadmark>1</Leadmark> <Leadname>sample string 4</Leadname> <Phone>1</Phone> <Pos>1</Pos> <Poscode>sample string 1</Poscode> <Type>2</Type> </LeadInfoResponse>