POST api/site/BecomePartner
Регистрация нового партнера программы лояльности
Request Information
URI Parameters
None.
Body Parameters
BecomePartnerRequestName | Description | Type | Additional information |
---|---|---|---|
City |
город партнера |
string |
None. |
Site |
сайт партнера |
string |
None. |
GoodsSell |
что продают? |
string |
None. |
PosQty |
Количество ТТ |
integer |
None. |
CashSoftware |
Наименование кассового ПО |
string |
None. |
Name |
Имя |
string |
None. |
Phone |
Номер телефона |
integer |
None. |
Адрес электронной почты |
string |
None. |
|
Operator |
Идентификатор Оператора программы лояльности |
integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "City": "sample string 1", "Site": "sample string 2", "GoodsSell": "sample string 3", "PosQty": 1, "CashSoftware": "sample string 4", "Name": "sample string 5", "Phone": 6, "Email": "sample string 7", "Operator": 8 }
application/xml, text/xml
Sample:
<BecomePartnerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models"> <CashSoftware>sample string 4</CashSoftware> <City>sample string 1</City> <Email>sample string 7</Email> <GoodsSell>sample string 3</GoodsSell> <Name>sample string 5</Name> <Operator>8</Operator> <Phone>6</Phone> <PosQty>1</PosQty> <Site>sample string 2</Site> </BecomePartnerRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BecomePartnerResponseName | Description | Type | Additional information |
---|---|---|---|
ErrorCode |
код ошибки |
integer |
None. |
Message |
сообщение об ошибке |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ErrorCode": 1, "Message": "sample string 2" }
application/xml, text/xml
Sample:
<BecomePartnerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models"> <ErrorCode>1</ErrorCode> <Message>sample string 2</Message> </BecomePartnerResponse>