The point of the scheme is - placing the order is reversible. This is achieved by placing a so-called “delayed” order - within 2 hours there is an opportunity to cancel the order without any interference. If the order was not canceled within 2 hours, the sale is considered to be successfully completed and the information is sent to the MONT reporting system. If the order is canceled within 2 hours, the keys to it are returned to the virtual MONT warehouse for further resale. For the reporting system, this order did not exist.
The method is used to place a “pending order” in the MontWebstore system. The input object contains the order number and the list of order lines. Each line corresponds to one ordered position, it has a unique number. It describes:
Name | Type | require | Description |
---|---|---|---|
OrderNum | string | yes | Order Number in MONT system. It is set by reseller, and must be unique within all orders of the reseller. |
SendOrderLines | array of SendOrderLineContract | yes | An array containing all rows of this order |
LangCode | string | yes | Language for printing instructions |
Phone | no | Enduser phone number |
Name | Type | Description |
---|---|---|
Fields | array of EndUserInfoFieldContract | List of the end user license form fields |
Name | Type | Description |
---|---|---|
FieldName | string | Name of the license form field |
FieldValue | string | Field value |
Name | Type | Description |
---|---|---|
OrderNum | string | Order number |
OrderStatus | int | Current status of the order. Possible values: InProcess - In process, 2 - Error, Successed - Succesfull. If all order lines are completed successfully, then the status is completed successfully. Otherwise, the status of the order is in process. |
DateCreated | DateTime | Order creation date |
OrderLines | array of OrderLineWiInstructionContract | List of order lines |
Содержит информацию об одной строке заказа с инструкциями для печати на чеке
Название | Тип | Описание |
---|---|---|
OrderLineNum | string | Номер строки заказа |
DateCreated | DateTime | Дата создания заказа |
PartNum | string | Партномер товара или услуги, за которую отвечает строка заказа |
Quantity | int | Количество |
TotalSumm | double | Суммарная стоимость строки заказа |
ItemPrice | double | Цена реселлера за одну единицу |
Currency | string | Код валюты, в которой была совершена покупка |
OrderStatus | int | Статус строки заказа. Возможные значения описываются словарем OrderLineStatusEnum |
EndUserInfo | EndUserInfoContract | Информация о конечном пользователе, на которого была оформлена покупка |
InstallInstructions | string | Инструкция по установке(использованию) для печати на чеках. Пример:
|
FullInstructions | string | Инструкция по установке(использованию) для печати на чеках + список ключей, каждый из которых на отдельной строке. Пример: |
Keys | array of OrderKeyContract | Список ключей - результатов заказа |
Links | array of OrderLinkContract | Список ссылок - результатов заказа |
Files | array of OrderFileContract | Список файлов - результатов заказа |
SubscriptionId | string | Номер подписки, которая была оформлена с помощью этой строки заказа. Заполняется, только если была заказана подписка |
MontSubscriberId | Guid | Идентификатор подписчика, на которого была оформлена подписка с помощью этой строки заказа. Заполняется, только если была заказана подписка |
ErrorCode | int | Код ошибки. Возможные ошибки. |
ErrorText | string | Описание ошибки |
Name | Type | Description |
---|---|---|
ActiveKey | string | Activation key |
DateAdd | DateTime | Key purchase date |
VendorClientTransactionId | string | Key purchase transaction ID. Used to bind the key to links and files |
Description | string | Key description |
Name | Type | Description |
---|---|---|
Link | string | link URL |
DateAdd | DateTime | Link purchase date |
VendorClientTransactionId | string | The identifier of the transaction by which the link was obtained. Used to bind the key to links and files |
Description | string | Link description |
Name | Type | Description |
---|---|---|
DateAdd | DateTime | File purchase date |
VendorClientTransactionId | string | The identifier of the transaction by which the file was received. Used to bind the key to links and files |
Description | string | File description |
FileName | string | File name |
FileExtension | string | Extension of file |
FileSize | int | File size (bytes) |
DownloadUrl | string | File download link |
All replies of web services B2BServiceV2Xml.svc and B2BServiceV2.svc are wrapped in a contract type (the contract contains information about the violations in the operation of the web service, as well as the response of the called method inside the <Data> tag.):
Возможные ошибки метода AddOrderDelayed
Запрос XmlOverHttp без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddOrderDelayed
<?xml version="1.0" ?> <SendOrderLangContract> <LangCode>RU</LangCode> <Phone>89023333300</Phone> <ResellerComment>Comment1</ResellerComment> <SendOrderLines> <SendOrderLineContract> <OrderLineNum>15266418520335574-01</OrderLineNum> <PartNum>ABC-11111</PartNum> <Quantity>1</Quantity> <EndUserInfo/> <ResellerComment>hello world</ResellerComment> </SendOrderLineContract> </SendOrderLines> <OrderNum>15266418520335574</OrderNum> </SendOrderLangContract>
Ответ XmlOverHttp без лицензионной формы
<?xml version="1.0" encoding="utf-8"?> <AddOrderDelayedResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <AddOrderDelayedResult> <Data> <OrderLines> <OrderLineWiInstructionContract> <Id>00000000-0000-0000-0000-000000000000</Id> <OrderLineId>211456</OrderLineId> <OrderLineNum>15266418520335574-01</OrderLineNum> <DateCreated>2021-04-21T12:21:22.7100722</DateCreated> <PartNum>ABC-11111</PartNum> <Quantity>1</Quantity> <TotalSumm>1000</TotalSumm> <ItemPrice>1000</ItemPrice> <Currency>RUR</Currency> <OrderStatus>Successed</OrderStatus> <EndUserInfo> <Fields> <EndUserInfoFieldContract> <FieldName>Phone</FieldName> <FieldValue>89023333300</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>LicFormId</FieldName> <FieldValue>24867</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <Keys> <OrderKeyContract> <ActiveKey>F5XA-R2JS-AY3T-MYWL</ActiveKey> <DateAdd>2021-04-21T12:21:26.723</DateAdd> <VendorClientTransactionId>f5b86eec-3c68-4e9e-a974-e4cc472c05ca-65950</VendorClientTransactionId> <KeyTypeId>1</KeyTypeId> <Description>TestKey</Description> </OrderKeyContract> </Keys> <Links> <OrderLinkContract> <Link>http://somesite.com/ORNAFL2FIV68130S</Link> <DateAdd>2021-04-21T12:21:26.723</DateAdd> <VendorClientTransactionId>f5b86eec-3c68-4e9e-a974-e4cc472c05ca-65950</VendorClientTransactionId> <LinkTypeId>1</LinkTypeId> <Description>Test link</Description> </OrderLinkContract> </Links> <Files/> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <ErrorCode>0</ErrorCode> <Hidden xsi:nil="true"/> <ResellerComment>hello world</ResellerComment> <HideKeys>false</HideKeys> <InstallInstructions/> <ProductTitle/> <FullInstructions>F5XA-R2JS-AY3T-MYWL</FullInstructions> </OrderLineWiInstructionContract> </OrderLines> <OrderNum>15266418520335574</OrderNum> <DateCreated>2021-04-21T12:21:22.69</DateCreated> <OrderStatus>Successed</OrderStatus> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddOrderDelayedResult> </AddOrderDelayedResponse>
Запрос XmlOverHttp с лицензионной формой
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddOrderDelayed
<?xml version="1.0" ?> <SendOrderLangContract> <LangCode>RU</LangCode> <SendOrderLines> <SendOrderLineContract> <OrderLineNum>abc100</OrderLineNum> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <EndUserInfo> <Fields> <EndUserInfoFieldContract> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>false</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> </SendOrderLineContract> </SendOrderLines> <OrderNum>abc100</OrderNum> </SendOrderLangContract>
Ответ XmlOverHttp с лицензионной формой
<?xml version="1.0" encoding="utf-8"?> <AddOrderDelayedResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddOrderDelayedResult> <Data> <OrderLines> <OrderLineWiInstructionContract> <Id>00000000-0000-0000-0000-000000000000</Id> <OrderLineId>210792</OrderLineId> <OrderLineNum>abc100</OrderLineNum> <DateCreated>2021-02-25T12:41:36.6874764</DateCreated> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <TotalSumm>3800</TotalSumm> <ItemPrice>3800</ItemPrice> <Currency>RUR</Currency> <OrderStatus>InProcess</OrderStatus> <EndUserInfo> <Fields> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>LicFormId</FieldName> <FieldValue>24224</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>False</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <Keys/> <Links/> <Files/> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <ErrorCode>0</ErrorCode> <Hidden xsi:nil="true"/> <HideKeys>false</HideKeys> <InstallInstructions/> <ProductTitle/> <FullInstructions/> </OrderLineWiInstructionContract> </OrderLines> <OrderNum>abc100</OrderNum> <DateCreated>2021-02-25T12:41:36.687</DateCreated> <OrderStatus>InProcess</OrderStatus> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddOrderDelayedResult> </AddOrderDelayedResponse>
Запрос SOAP без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddOrderDelayed> <MethodParameters> <orderRequest> <LangCode>RU</LangCode> <Phone>89032222222</Phone> <OrderNum>abc0000123</OrderNum> <ResellerComment>Comment1</ResellerComment> <SendOrderLines attr0="SendOrderLineContractArray" isNull="false"> <SendOrderLineContractArray0> <Action isNull="false" /> <DateOn>26.02.2021 11:19:37</DateOn> <EndUserAxCode isNull="false" /> <EndUserCurrencyCode isNull="false" /> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName isNull="false" /> <FieldValue isNull="false" /> </EndUserInfoFieldContractArray0> </Fields> </EndUserInfo> <EndUserInvoiceNum isNull="false" /> <EndUserPrice>0</EndUserPrice> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc0000123-1</OrderLineNum> <ParentOrderLineNum isNull="false" /> <ParentSubscriptionNum isNull="false" /> <PartNum>ABC-11111</PartNum> <PaymentTransactionId isNull="false" /> <Quantity>1</Quantity> <ResellerComment>Comment1</ResellerComment> <ReserveLineId>0</ReserveLineId> <SubscriptionId isNull="false" /> </SendOrderLineContractArray0> </SendOrderLines> </orderRequest> </MethodParameters> </AddOrderDelayed>
Ответ SOAP без лицензионной формы
<AddOrderDelayed> <MethodParameters> <WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> <Data> <DateCreated>26.02.2021 13:39:16</DateCreated> <OrderLines attr0="OrderLineWiInstructionContractArray"isNull="false"> <OrderLineWiInstructionContractArray0> <FullInstructions>Y63R-1O8M-4NGF-AMCM</FullInstructions> <InstallInstructions isNull="false"/> <ProductTitle isNull="false"/> <Action isNull="true"/> <Currency>RUR</Currency> <DateCreated>26.02.2021 13:39:16</DateCreated> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray"isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>Phone</FieldName> <FieldValue>89032222222</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>LicFormId</FieldName> <FieldValue>24279</FieldValue> </EndUserInfoFieldContractArray2> </Fields> </EndUserInfo> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Files attr0="OrderFileContractArray"isNull="false"/> <Hidden isNull="true"/> <ItemPrice>1000</ItemPrice> <Keys attr0="OrderKeyContractArray"isNull="false"> <OrderKeyContractArray0> <ActiveKey>Y63R-1O8M-4NGF-AMCM</ActiveKey> <DateAdd>26.02.2021 13:39:17</DateAdd> <Description>TestKey</Description> <KeyTypeId>1</KeyTypeId> <Satcode isNull="true"/> <SequenceNumber isNull="true"/> <VendorClientTransactionId>23f1fb79-ea18-4d33-ab41-44f6ff29a29c-62945</VendorClientTransactionId> </OrderKeyContractArray0> </Keys> <Links attr0="OrderLinkContractArray"isNull="false"> <OrderLinkContractArray0> <DateAdd>26.02.2021 13:39:17</DateAdd> <Description>Test link</Description> <Link>http://somesite.com/64BMMRKNSBJDPGLE</Link> <LinkTypeId>1</LinkTypeId> <VendorClientTransactionId>23f1fb79-ea18-4d33-ab41-44f6ff29a29c-62945</VendorClientTransactionId> </OrderLinkContractArray0> </Links> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc0000123-1</OrderLineNum> <OrderStatus>Successed</OrderStatus> <PartNum>ABC-11111</PartNum> <Quantity>1</Quantity> <ResellerComment>Comment1</ResellerComment> <SubscriptionId isNull="false"/> <TotalSumm>1000</TotalSumm> </OrderLineWiInstructionContractArray0> </OrderLines> <OrderNum>abc0000123</OrderNum> <OrderStatus>Successed</OrderStatus> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Errors attr0="ErrorContractArray"isNull="false"/> <IsError>False</IsError> </WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> </MethodParameters> </AddOrderDelayed>
Запрос SOAP с лицензионной формой
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddOrderDelayed> <MethodParameters> <orderRequest> <LangCode>RU</LangCode> <Phone>89023333300</Phone> <OrderNum>abc000001</OrderNum> <ResellerComment>for me</ResellerComment> <SendOrderLines attr0="SendOrderLineContractArray" isNull="false"> <SendOrderLineContractArray0> <Action isNull="false" /> <DateOn>20.02.2021 17:21:37</DateOn> <EndUserAxCode isNull="false" /> <EndUserCurrencyCode isNull="false" /> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>IsLegalPerson</FieldName> <FieldValue>false</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray3> </Fields> </EndUserInfo> <EndUserInvoiceNum isNull="false" /> <EndUserPrice>0</EndUserPrice> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc000001-01</OrderLineNum> <ParentOrderLineNum isNull="false" /> <ParentSubscriptionNum isNull="false" /> <PartNum>KL1849RDBFY</PartNum> <PaymentTransactionId isNull="false" /> <Quantity>5</Quantity> <ResellerComment>for me</ResellerComment> <ReserveLineId>0</ReserveLineId> <SubscriptionId isNull="false" /> </SendOrderLineContractArray0> </SendOrderLines> </orderRequest> </MethodParameters> </AddOrderDelayed>
Ответ SOAP с лицензионной формой
<AddOrderDelayed> <MethodParameters> <WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> <Data> <DateCreated>25.02.2021 15:49:47</DateCreated> <OrderLines isNull="false" attr0="OrderLineWiInstructionContractArray"> <OrderLineWiInstructionContractArray0> <FullInstructions isNull="false"/> <InstallInstructions isNull="false"/> <ProductTitle isNull="false"/> <Action isNull="true"/> <Currency>RUR</Currency> <DateCreated>25.02.2021 15:49:47</DateCreated> <EndUserInfo> <Fields isNull="false" attr0="EndUserInfoFieldContractArray"> <EndUserInfoFieldContractArray0> <FieldName>Phone</FieldName> <FieldValue>89023333300</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContractArray3> <EndUserInfoFieldContractArray4> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray4> <EndUserInfoFieldContractArray5> <FieldName>LicFormId</FieldName> <FieldValue>24227</FieldValue> </EndUserInfoFieldContractArray5> <EndUserInfoFieldContractArray6> <FieldName>IsLegalPerson</FieldName> <FieldValue>False</FieldValue> </EndUserInfoFieldContractArray6> </Fields> </EndUserInfo> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Files isNull="false" attr0="OrderFileContractArray"/> <Hidden isNull="true"/> <ItemPrice>3800</ItemPrice> <Keys isNull="false" attr0="OrderKeyContractArray"/> <Links isNull="false" attr0="OrderLinkContractArray"/> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc000001-01</OrderLineNum> <OrderStatus>InProcess</OrderStatus> <PartNum>KL1849RDBFY</PartNum> <Quantity>5</Quantity> <ResellerComment>for me</ResellerComment> <SubscriptionId isNull="false"/> <TotalSumm>19000</TotalSumm> </OrderLineWiInstructionContractArray0> </OrderLines> <OrderNum>abc000001</OrderNum> <OrderStatus>InProcess</OrderStatus> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Errors isNull="false" attr0="ErrorContractArray"/> <IsError>False</IsError> </WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> </MethodParameters> </AddOrderDelayed>
Запрос XmlOverHttp без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddOrderDelayed
<?xml version="1.0" ?> <SendOrderLangContract> <LangCode>RU</LangCode> <Phone>89023333300</Phone> <ResellerComment>Comment1</ResellerComment> <SendOrderLines> <SendOrderLineContract> <OrderLineNum>15266418520335574-01</OrderLineNum> <PartNum>ABC-11111</PartNum> <Quantity>1</Quantity> <EndUserInfo/> <ResellerComment>hello world</ResellerComment> </SendOrderLineContract> </SendOrderLines> <OrderNum>15266418520335574</OrderNum> </SendOrderLangContract>
Ответ XmlOverHttp без лицензионной формы
<?xml version="1.0" encoding="utf-8"?> <AddOrderDelayedResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <AddOrderDelayedResult> <Data> <OrderLines> <OrderLineWiInstructionContract> <Id>00000000-0000-0000-0000-000000000000</Id> <OrderLineId>211456</OrderLineId> <OrderLineNum>15266418520335574-01</OrderLineNum> <DateCreated>2021-04-21T12:21:22.7100722</DateCreated> <PartNum>ABC-11111</PartNum> <Quantity>1</Quantity> <TotalSumm>1000</TotalSumm> <ItemPrice>1000</ItemPrice> <Currency>RUR</Currency> <OrderStatus>Successed</OrderStatus> <EndUserInfo> <Fields> <EndUserInfoFieldContract> <FieldName>Phone</FieldName> <FieldValue>89023333300</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>LicFormId</FieldName> <FieldValue>24867</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <Keys> <OrderKeyContract> <ActiveKey>F5XA-R2JS-AY3T-MYWL</ActiveKey> <DateAdd>2021-04-21T12:21:26.723</DateAdd> <VendorClientTransactionId>f5b86eec-3c68-4e9e-a974-e4cc472c05ca-65950</VendorClientTransactionId> <KeyTypeId>1</KeyTypeId> <Description>TestKey</Description> </OrderKeyContract> </Keys> <Links> <OrderLinkContract> <Link>http://somesite.com/ORNAFL2FIV68130S</Link> <DateAdd>2021-04-21T12:21:26.723</DateAdd> <VendorClientTransactionId>f5b86eec-3c68-4e9e-a974-e4cc472c05ca-65950</VendorClientTransactionId> <LinkTypeId>1</LinkTypeId> <Description>Test link</Description> </OrderLinkContract> </Links> <Files/> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <ErrorCode>0</ErrorCode> <Hidden xsi:nil="true"/> <ResellerComment>hello world</ResellerComment> <HideKeys>false</HideKeys> <InstallInstructions/> <ProductTitle/> <FullInstructions>F5XA-R2JS-AY3T-MYWL</FullInstructions> </OrderLineWiInstructionContract> </OrderLines> <OrderNum>15266418520335574</OrderNum> <DateCreated>2021-04-21T12:21:22.69</DateCreated> <OrderStatus>Successed</OrderStatus> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddOrderDelayedResult> </AddOrderDelayedResponse>
Запрос XmlOverHttp с лицензионной формой
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddOrderDelayed
<?xml version="1.0" ?> <SendOrderLangContract> <LangCode>RU</LangCode> <SendOrderLines> <SendOrderLineContract> <OrderLineNum>abc100</OrderLineNum> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <EndUserInfo> <Fields> <EndUserInfoFieldContract> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>false</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> </SendOrderLineContract> </SendOrderLines> <OrderNum>abc100</OrderNum> </SendOrderLangContract>
Ответ XmlOverHttp с лицензионной формой
<?xml version="1.0" encoding="utf-8"?> <AddOrderDelayedResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddOrderDelayedResult> <Data> <OrderLines> <OrderLineWiInstructionContract> <Id>00000000-0000-0000-0000-000000000000</Id> <OrderLineId>210792</OrderLineId> <OrderLineNum>abc100</OrderLineNum> <DateCreated>2021-02-25T12:41:36.6874764</DateCreated> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <TotalSumm>3800</TotalSumm> <ItemPrice>3800</ItemPrice> <Currency>RUR</Currency> <OrderStatus>InProcess</OrderStatus> <EndUserInfo> <Fields> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>LicFormId</FieldName> <FieldValue>24224</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>False</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <Keys/> <Links/> <Files/> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <ErrorCode>0</ErrorCode> <Hidden xsi:nil="true"/> <HideKeys>false</HideKeys> <InstallInstructions/> <ProductTitle/> <FullInstructions/> </OrderLineWiInstructionContract> </OrderLines> <OrderNum>abc100</OrderNum> <DateCreated>2021-02-25T12:41:36.687</DateCreated> <OrderStatus>InProcess</OrderStatus> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddOrderDelayedResult> </AddOrderDelayedResponse>
Запрос SOAP без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddOrderDelayed> <MethodParameters> <orderRequest> <LangCode>RU</LangCode> <Phone>89032222222</Phone> <OrderNum>abc0000123</OrderNum> <ResellerComment>Comment1</ResellerComment> <SendOrderLines attr0="SendOrderLineContractArray" isNull="false"> <SendOrderLineContractArray0> <Action isNull="false" /> <DateOn>26.02.2021 11:19:37</DateOn> <EndUserAxCode isNull="false" /> <EndUserCurrencyCode isNull="false" /> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName isNull="false" /> <FieldValue isNull="false" /> </EndUserInfoFieldContractArray0> </Fields> </EndUserInfo> <EndUserInvoiceNum isNull="false" /> <EndUserPrice>0</EndUserPrice> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc0000123-1</OrderLineNum> <ParentOrderLineNum isNull="false" /> <ParentSubscriptionNum isNull="false" /> <PartNum>ABC-11111</PartNum> <PaymentTransactionId isNull="false" /> <Quantity>1</Quantity> <ResellerComment>Comment1</ResellerComment> <ReserveLineId>0</ReserveLineId> <SubscriptionId isNull="false" /> </SendOrderLineContractArray0> </SendOrderLines> </orderRequest> </MethodParameters> </AddOrderDelayed>
Ответ SOAP без лицензионной формы
<AddOrderDelayed> <MethodParameters> <WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> <Data> <DateCreated>26.02.2021 13:39:16</DateCreated> <OrderLines attr0="OrderLineWiInstructionContractArray"isNull="false"> <OrderLineWiInstructionContractArray0> <FullInstructions>Y63R-1O8M-4NGF-AMCM</FullInstructions> <InstallInstructions isNull="false"/> <ProductTitle isNull="false"/> <Action isNull="true"/> <Currency>RUR</Currency> <DateCreated>26.02.2021 13:39:16</DateCreated> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray"isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>Phone</FieldName> <FieldValue>89032222222</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>LicFormId</FieldName> <FieldValue>24279</FieldValue> </EndUserInfoFieldContractArray2> </Fields> </EndUserInfo> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Files attr0="OrderFileContractArray"isNull="false"/> <Hidden isNull="true"/> <ItemPrice>1000</ItemPrice> <Keys attr0="OrderKeyContractArray"isNull="false"> <OrderKeyContractArray0> <ActiveKey>Y63R-1O8M-4NGF-AMCM</ActiveKey> <DateAdd>26.02.2021 13:39:17</DateAdd> <Description>TestKey</Description> <KeyTypeId>1</KeyTypeId> <Satcode isNull="true"/> <SequenceNumber isNull="true"/> <VendorClientTransactionId>23f1fb79-ea18-4d33-ab41-44f6ff29a29c-62945</VendorClientTransactionId> </OrderKeyContractArray0> </Keys> <Links attr0="OrderLinkContractArray"isNull="false"> <OrderLinkContractArray0> <DateAdd>26.02.2021 13:39:17</DateAdd> <Description>Test link</Description> <Link>http://somesite.com/64BMMRKNSBJDPGLE</Link> <LinkTypeId>1</LinkTypeId> <VendorClientTransactionId>23f1fb79-ea18-4d33-ab41-44f6ff29a29c-62945</VendorClientTransactionId> </OrderLinkContractArray0> </Links> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc0000123-1</OrderLineNum> <OrderStatus>Successed</OrderStatus> <PartNum>ABC-11111</PartNum> <Quantity>1</Quantity> <ResellerComment>Comment1</ResellerComment> <SubscriptionId isNull="false"/> <TotalSumm>1000</TotalSumm> </OrderLineWiInstructionContractArray0> </OrderLines> <OrderNum>abc0000123</OrderNum> <OrderStatus>Successed</OrderStatus> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Errors attr0="ErrorContractArray"isNull="false"/> <IsError>False</IsError> </WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> </MethodParameters> </AddOrderDelayed>
Запрос SOAP с лицензионной формой
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddOrderDelayed> <MethodParameters> <orderRequest> <LangCode>RU</LangCode> <Phone>89023333300</Phone> <OrderNum>abc000001</OrderNum> <ResellerComment>for me</ResellerComment> <SendOrderLines attr0="SendOrderLineContractArray" isNull="false"> <SendOrderLineContractArray0> <Action isNull="false" /> <DateOn>20.02.2021 17:21:37</DateOn> <EndUserAxCode isNull="false" /> <EndUserCurrencyCode isNull="false" /> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>IsLegalPerson</FieldName> <FieldValue>false</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray3> </Fields> </EndUserInfo> <EndUserInvoiceNum isNull="false" /> <EndUserPrice>0</EndUserPrice> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc000001-01</OrderLineNum> <ParentOrderLineNum isNull="false" /> <ParentSubscriptionNum isNull="false" /> <PartNum>KL1849RDBFY</PartNum> <PaymentTransactionId isNull="false" /> <Quantity>5</Quantity> <ResellerComment>for me</ResellerComment> <ReserveLineId>0</ReserveLineId> <SubscriptionId isNull="false" /> </SendOrderLineContractArray0> </SendOrderLines> </orderRequest> </MethodParameters> </AddOrderDelayed>
Ответ SOAP с лицензионной формой
<AddOrderDelayed> <MethodParameters> <WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> <Data> <DateCreated>25.02.2021 15:49:47</DateCreated> <OrderLines isNull="false" attr0="OrderLineWiInstructionContractArray"> <OrderLineWiInstructionContractArray0> <FullInstructions isNull="false"/> <InstallInstructions isNull="false"/> <ProductTitle isNull="false"/> <Action isNull="true"/> <Currency>RUR</Currency> <DateCreated>25.02.2021 15:49:47</DateCreated> <EndUserInfo> <Fields isNull="false" attr0="EndUserInfoFieldContractArray"> <EndUserInfoFieldContractArray0> <FieldName>Phone</FieldName> <FieldValue>89023333300</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContractArray3> <EndUserInfoFieldContractArray4> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray4> <EndUserInfoFieldContractArray5> <FieldName>LicFormId</FieldName> <FieldValue>24227</FieldValue> </EndUserInfoFieldContractArray5> <EndUserInfoFieldContractArray6> <FieldName>IsLegalPerson</FieldName> <FieldValue>False</FieldValue> </EndUserInfoFieldContractArray6> </Fields> </EndUserInfo> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Files isNull="false" attr0="OrderFileContractArray"/> <Hidden isNull="true"/> <ItemPrice>3800</ItemPrice> <Keys isNull="false" attr0="OrderKeyContractArray"/> <Links isNull="false" attr0="OrderLinkContractArray"/> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc000001-01</OrderLineNum> <OrderStatus>InProcess</OrderStatus> <PartNum>KL1849RDBFY</PartNum> <Quantity>5</Quantity> <ResellerComment>for me</ResellerComment> <SubscriptionId isNull="false"/> <TotalSumm>19000</TotalSumm> </OrderLineWiInstructionContractArray0> </OrderLines> <OrderNum>abc000001</OrderNum> <OrderStatus>InProcess</OrderStatus> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Errors isNull="false" attr0="ErrorContractArray"/> <IsError>False</IsError> </WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> </MethodParameters> </AddOrderDelayed>
Запрос XmlOverHttp без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddOrderDelayed
<?xml version="1.0" ?> <SendOrderLangContract> <LangCode>RU</LangCode> <Phone>89023333300</Phone> <ResellerComment>Comment1</ResellerComment> <SendOrderLines> <SendOrderLineContract> <OrderLineNum>15266418520335574-01</OrderLineNum> <PartNum>ABC-11111</PartNum> <Quantity>1</Quantity> <EndUserInfo/> <ResellerComment>hello world</ResellerComment> </SendOrderLineContract> </SendOrderLines> <OrderNum>15266418520335574</OrderNum> </SendOrderLangContract>
Ответ XmlOverHttp без лицензионной формы
<?xml version="1.0" encoding="utf-8"?> <AddOrderDelayedResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <AddOrderDelayedResult> <Data> <OrderLines> <OrderLineWiInstructionContract> <Id>00000000-0000-0000-0000-000000000000</Id> <OrderLineId>211456</OrderLineId> <OrderLineNum>15266418520335574-01</OrderLineNum> <DateCreated>2021-04-21T12:21:22.7100722</DateCreated> <PartNum>ABC-11111</PartNum> <Quantity>1</Quantity> <TotalSumm>1000</TotalSumm> <ItemPrice>1000</ItemPrice> <Currency>RUR</Currency> <OrderStatus>Successed</OrderStatus> <EndUserInfo> <Fields> <EndUserInfoFieldContract> <FieldName>Phone</FieldName> <FieldValue>89023333300</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>LicFormId</FieldName> <FieldValue>24867</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <Keys> <OrderKeyContract> <ActiveKey>F5XA-R2JS-AY3T-MYWL</ActiveKey> <DateAdd>2021-04-21T12:21:26.723</DateAdd> <VendorClientTransactionId>f5b86eec-3c68-4e9e-a974-e4cc472c05ca-65950</VendorClientTransactionId> <KeyTypeId>1</KeyTypeId> <Description>TestKey</Description> </OrderKeyContract> </Keys> <Links> <OrderLinkContract> <Link>http://somesite.com/ORNAFL2FIV68130S</Link> <DateAdd>2021-04-21T12:21:26.723</DateAdd> <VendorClientTransactionId>f5b86eec-3c68-4e9e-a974-e4cc472c05ca-65950</VendorClientTransactionId> <LinkTypeId>1</LinkTypeId> <Description>Test link</Description> </OrderLinkContract> </Links> <Files/> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <ErrorCode>0</ErrorCode> <Hidden xsi:nil="true"/> <ResellerComment>hello world</ResellerComment> <HideKeys>false</HideKeys> <InstallInstructions/> <ProductTitle/> <FullInstructions>F5XA-R2JS-AY3T-MYWL</FullInstructions> </OrderLineWiInstructionContract> </OrderLines> <OrderNum>15266418520335574</OrderNum> <DateCreated>2021-04-21T12:21:22.69</DateCreated> <OrderStatus>Successed</OrderStatus> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddOrderDelayedResult> </AddOrderDelayedResponse>
Запрос XmlOverHttp с лицензионной формой
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddOrderDelayed
<?xml version="1.0" ?> <SendOrderLangContract> <LangCode>RU</LangCode> <SendOrderLines> <SendOrderLineContract> <OrderLineNum>abc100</OrderLineNum> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <EndUserInfo> <Fields> <EndUserInfoFieldContract> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>false</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> </SendOrderLineContract> </SendOrderLines> <OrderNum>abc100</OrderNum> </SendOrderLangContract>
Ответ XmlOverHttp с лицензионной формой
<?xml version="1.0" encoding="utf-8"?> <AddOrderDelayedResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddOrderDelayedResult> <Data> <OrderLines> <OrderLineWiInstructionContract> <Id>00000000-0000-0000-0000-000000000000</Id> <OrderLineId>210792</OrderLineId> <OrderLineNum>abc100</OrderLineNum> <DateCreated>2021-02-25T12:41:36.6874764</DateCreated> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <TotalSumm>3800</TotalSumm> <ItemPrice>3800</ItemPrice> <Currency>RUR</Currency> <OrderStatus>InProcess</OrderStatus> <EndUserInfo> <Fields> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>LicFormId</FieldName> <FieldValue>24224</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>False</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <Keys/> <Links/> <Files/> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <ErrorCode>0</ErrorCode> <Hidden xsi:nil="true"/> <HideKeys>false</HideKeys> <InstallInstructions/> <ProductTitle/> <FullInstructions/> </OrderLineWiInstructionContract> </OrderLines> <OrderNum>abc100</OrderNum> <DateCreated>2021-02-25T12:41:36.687</DateCreated> <OrderStatus>InProcess</OrderStatus> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddOrderDelayedResult> </AddOrderDelayedResponse>
Запрос SOAP без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddOrderDelayed> <MethodParameters> <orderRequest> <LangCode>RU</LangCode> <Phone>89032222222</Phone> <OrderNum>abc0000123</OrderNum> <ResellerComment>Comment1</ResellerComment> <SendOrderLines attr0="SendOrderLineContractArray" isNull="false"> <SendOrderLineContractArray0> <Action isNull="false" /> <DateOn>26.02.2021 11:19:37</DateOn> <EndUserAxCode isNull="false" /> <EndUserCurrencyCode isNull="false" /> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName isNull="false" /> <FieldValue isNull="false" /> </EndUserInfoFieldContractArray0> </Fields> </EndUserInfo> <EndUserInvoiceNum isNull="false" /> <EndUserPrice>0</EndUserPrice> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc0000123-1</OrderLineNum> <ParentOrderLineNum isNull="false" /> <ParentSubscriptionNum isNull="false" /> <PartNum>ABC-11111</PartNum> <PaymentTransactionId isNull="false" /> <Quantity>1</Quantity> <ResellerComment>Comment1</ResellerComment> <ReserveLineId>0</ReserveLineId> <SubscriptionId isNull="false" /> </SendOrderLineContractArray0> </SendOrderLines> </orderRequest> </MethodParameters> </AddOrderDelayed>
Ответ SOAP без лицензионной формы
<AddOrderDelayed> <MethodParameters> <WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> <Data> <DateCreated>26.02.2021 13:39:16</DateCreated> <OrderLines attr0="OrderLineWiInstructionContractArray"isNull="false"> <OrderLineWiInstructionContractArray0> <FullInstructions>Y63R-1O8M-4NGF-AMCM</FullInstructions> <InstallInstructions isNull="false"/> <ProductTitle isNull="false"/> <Action isNull="true"/> <Currency>RUR</Currency> <DateCreated>26.02.2021 13:39:16</DateCreated> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray"isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>Phone</FieldName> <FieldValue>89032222222</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>LicFormId</FieldName> <FieldValue>24279</FieldValue> </EndUserInfoFieldContractArray2> </Fields> </EndUserInfo> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Files attr0="OrderFileContractArray"isNull="false"/> <Hidden isNull="true"/> <ItemPrice>1000</ItemPrice> <Keys attr0="OrderKeyContractArray"isNull="false"> <OrderKeyContractArray0> <ActiveKey>Y63R-1O8M-4NGF-AMCM</ActiveKey> <DateAdd>26.02.2021 13:39:17</DateAdd> <Description>TestKey</Description> <KeyTypeId>1</KeyTypeId> <Satcode isNull="true"/> <SequenceNumber isNull="true"/> <VendorClientTransactionId>23f1fb79-ea18-4d33-ab41-44f6ff29a29c-62945</VendorClientTransactionId> </OrderKeyContractArray0> </Keys> <Links attr0="OrderLinkContractArray"isNull="false"> <OrderLinkContractArray0> <DateAdd>26.02.2021 13:39:17</DateAdd> <Description>Test link</Description> <Link>http://somesite.com/64BMMRKNSBJDPGLE</Link> <LinkTypeId>1</LinkTypeId> <VendorClientTransactionId>23f1fb79-ea18-4d33-ab41-44f6ff29a29c-62945</VendorClientTransactionId> </OrderLinkContractArray0> </Links> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc0000123-1</OrderLineNum> <OrderStatus>Successed</OrderStatus> <PartNum>ABC-11111</PartNum> <Quantity>1</Quantity> <ResellerComment>Comment1</ResellerComment> <SubscriptionId isNull="false"/> <TotalSumm>1000</TotalSumm> </OrderLineWiInstructionContractArray0> </OrderLines> <OrderNum>abc0000123</OrderNum> <OrderStatus>Successed</OrderStatus> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Errors attr0="ErrorContractArray"isNull="false"/> <IsError>False</IsError> </WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> </MethodParameters> </AddOrderDelayed>
Запрос SOAP с лицензионной формой
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddOrderDelayed> <MethodParameters> <orderRequest> <LangCode>RU</LangCode> <Phone>89023333300</Phone> <OrderNum>abc000001</OrderNum> <ResellerComment>for me</ResellerComment> <SendOrderLines attr0="SendOrderLineContractArray" isNull="false"> <SendOrderLineContractArray0> <Action isNull="false" /> <DateOn>20.02.2021 17:21:37</DateOn> <EndUserAxCode isNull="false" /> <EndUserCurrencyCode isNull="false" /> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>IsLegalPerson</FieldName> <FieldValue>false</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray3> </Fields> </EndUserInfo> <EndUserInvoiceNum isNull="false" /> <EndUserPrice>0</EndUserPrice> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc000001-01</OrderLineNum> <ParentOrderLineNum isNull="false" /> <ParentSubscriptionNum isNull="false" /> <PartNum>KL1849RDBFY</PartNum> <PaymentTransactionId isNull="false" /> <Quantity>5</Quantity> <ResellerComment>for me</ResellerComment> <ReserveLineId>0</ReserveLineId> <SubscriptionId isNull="false" /> </SendOrderLineContractArray0> </SendOrderLines> </orderRequest> </MethodParameters> </AddOrderDelayed>
Ответ SOAP с лицензионной формой
<AddOrderDelayed> <MethodParameters> <WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> <Data> <DateCreated>25.02.2021 15:49:47</DateCreated> <OrderLines isNull="false" attr0="OrderLineWiInstructionContractArray"> <OrderLineWiInstructionContractArray0> <FullInstructions isNull="false"/> <InstallInstructions isNull="false"/> <ProductTitle isNull="false"/> <Action isNull="true"/> <Currency>RUR</Currency> <DateCreated>25.02.2021 15:49:47</DateCreated> <EndUserInfo> <Fields isNull="false" attr0="EndUserInfoFieldContractArray"> <EndUserInfoFieldContractArray0> <FieldName>Phone</FieldName> <FieldValue>89023333300</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContractArray3> <EndUserInfoFieldContractArray4> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray4> <EndUserInfoFieldContractArray5> <FieldName>LicFormId</FieldName> <FieldValue>24227</FieldValue> </EndUserInfoFieldContractArray5> <EndUserInfoFieldContractArray6> <FieldName>IsLegalPerson</FieldName> <FieldValue>False</FieldValue> </EndUserInfoFieldContractArray6> </Fields> </EndUserInfo> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Files isNull="false" attr0="OrderFileContractArray"/> <Hidden isNull="true"/> <ItemPrice>3800</ItemPrice> <Keys isNull="false" attr0="OrderKeyContractArray"/> <Links isNull="false" attr0="OrderLinkContractArray"/> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc000001-01</OrderLineNum> <OrderStatus>InProcess</OrderStatus> <PartNum>KL1849RDBFY</PartNum> <Quantity>5</Quantity> <ResellerComment>for me</ResellerComment> <SubscriptionId isNull="false"/> <TotalSumm>19000</TotalSumm> </OrderLineWiInstructionContractArray0> </OrderLines> <OrderNum>abc000001</OrderNum> <OrderStatus>InProcess</OrderStatus> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Errors isNull="false" attr0="ErrorContractArray"/> <IsError>False</IsError> </WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> </MethodParameters> </AddOrderDelayed>
Запрос XmlOverHttp без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddOrderDelayed
<?xml version="1.0" ?> <SendOrderLangContract> <LangCode>RU</LangCode> <Phone>89023333300</Phone> <ResellerComment>Comment1</ResellerComment> <SendOrderLines> <SendOrderLineContract> <OrderLineNum>15266418520335574-01</OrderLineNum> <PartNum>ABC-11111</PartNum> <Quantity>1</Quantity> <EndUserInfo/> <ResellerComment>hello world</ResellerComment> </SendOrderLineContract> </SendOrderLines> <OrderNum>15266418520335574</OrderNum> </SendOrderLangContract>
Ответ XmlOverHttp без лицензионной формы
<?xml version="1.0" encoding="utf-8"?> <AddOrderDelayedResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <AddOrderDelayedResult> <Data> <OrderLines> <OrderLineWiInstructionContract> <Id>00000000-0000-0000-0000-000000000000</Id> <OrderLineId>211456</OrderLineId> <OrderLineNum>15266418520335574-01</OrderLineNum> <DateCreated>2021-04-21T12:21:22.7100722</DateCreated> <PartNum>ABC-11111</PartNum> <Quantity>1</Quantity> <TotalSumm>1000</TotalSumm> <ItemPrice>1000</ItemPrice> <Currency>RUR</Currency> <OrderStatus>Successed</OrderStatus> <EndUserInfo> <Fields> <EndUserInfoFieldContract> <FieldName>Phone</FieldName> <FieldValue>89023333300</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>LicFormId</FieldName> <FieldValue>24867</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <Keys> <OrderKeyContract> <ActiveKey>F5XA-R2JS-AY3T-MYWL</ActiveKey> <DateAdd>2021-04-21T12:21:26.723</DateAdd> <VendorClientTransactionId>f5b86eec-3c68-4e9e-a974-e4cc472c05ca-65950</VendorClientTransactionId> <KeyTypeId>1</KeyTypeId> <Description>TestKey</Description> </OrderKeyContract> </Keys> <Links> <OrderLinkContract> <Link>http://somesite.com/ORNAFL2FIV68130S</Link> <DateAdd>2021-04-21T12:21:26.723</DateAdd> <VendorClientTransactionId>f5b86eec-3c68-4e9e-a974-e4cc472c05ca-65950</VendorClientTransactionId> <LinkTypeId>1</LinkTypeId> <Description>Test link</Description> </OrderLinkContract> </Links> <Files/> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <ErrorCode>0</ErrorCode> <Hidden xsi:nil="true"/> <ResellerComment>hello world</ResellerComment> <HideKeys>false</HideKeys> <InstallInstructions/> <ProductTitle/> <FullInstructions>F5XA-R2JS-AY3T-MYWL</FullInstructions> </OrderLineWiInstructionContract> </OrderLines> <OrderNum>15266418520335574</OrderNum> <DateCreated>2021-04-21T12:21:22.69</DateCreated> <OrderStatus>Successed</OrderStatus> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddOrderDelayedResult> </AddOrderDelayedResponse>
Запрос XmlOverHttp с лицензионной формой
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddOrderDelayed
<?xml version="1.0" ?> <SendOrderLangContract> <LangCode>RU</LangCode> <SendOrderLines> <SendOrderLineContract> <OrderLineNum>abc100</OrderLineNum> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <EndUserInfo> <Fields> <EndUserInfoFieldContract> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>false</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> </SendOrderLineContract> </SendOrderLines> <OrderNum>abc100</OrderNum> </SendOrderLangContract>
Ответ XmlOverHttp с лицензионной формой
<?xml version="1.0" encoding="utf-8"?> <AddOrderDelayedResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddOrderDelayedResult> <Data> <OrderLines> <OrderLineWiInstructionContract> <Id>00000000-0000-0000-0000-000000000000</Id> <OrderLineId>210792</OrderLineId> <OrderLineNum>abc100</OrderLineNum> <DateCreated>2021-02-25T12:41:36.6874764</DateCreated> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <TotalSumm>3800</TotalSumm> <ItemPrice>3800</ItemPrice> <Currency>RUR</Currency> <OrderStatus>InProcess</OrderStatus> <EndUserInfo> <Fields> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>LicFormId</FieldName> <FieldValue>24224</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>False</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <Keys/> <Links/> <Files/> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <ErrorCode>0</ErrorCode> <Hidden xsi:nil="true"/> <HideKeys>false</HideKeys> <InstallInstructions/> <ProductTitle/> <FullInstructions/> </OrderLineWiInstructionContract> </OrderLines> <OrderNum>abc100</OrderNum> <DateCreated>2021-02-25T12:41:36.687</DateCreated> <OrderStatus>InProcess</OrderStatus> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddOrderDelayedResult> </AddOrderDelayedResponse>
Запрос SOAP без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddOrderDelayed> <MethodParameters> <orderRequest> <LangCode>RU</LangCode> <Phone>89032222222</Phone> <OrderNum>abc0000123</OrderNum> <ResellerComment>Comment1</ResellerComment> <SendOrderLines attr0="SendOrderLineContractArray" isNull="false"> <SendOrderLineContractArray0> <Action isNull="false" /> <DateOn>26.02.2021 11:19:37</DateOn> <EndUserAxCode isNull="false" /> <EndUserCurrencyCode isNull="false" /> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName isNull="false" /> <FieldValue isNull="false" /> </EndUserInfoFieldContractArray0> </Fields> </EndUserInfo> <EndUserInvoiceNum isNull="false" /> <EndUserPrice>0</EndUserPrice> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc0000123-1</OrderLineNum> <ParentOrderLineNum isNull="false" /> <ParentSubscriptionNum isNull="false" /> <PartNum>ABC-11111</PartNum> <PaymentTransactionId isNull="false" /> <Quantity>1</Quantity> <ResellerComment>Comment1</ResellerComment> <ReserveLineId>0</ReserveLineId> <SubscriptionId isNull="false" /> </SendOrderLineContractArray0> </SendOrderLines> </orderRequest> </MethodParameters> </AddOrderDelayed>
Ответ SOAP без лицензионной формы
<AddOrderDelayed> <MethodParameters> <WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> <Data> <DateCreated>26.02.2021 13:39:16</DateCreated> <OrderLines attr0="OrderLineWiInstructionContractArray"isNull="false"> <OrderLineWiInstructionContractArray0> <FullInstructions>Y63R-1O8M-4NGF-AMCM</FullInstructions> <InstallInstructions isNull="false"/> <ProductTitle isNull="false"/> <Action isNull="true"/> <Currency>RUR</Currency> <DateCreated>26.02.2021 13:39:16</DateCreated> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray"isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>Phone</FieldName> <FieldValue>89032222222</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>LicFormId</FieldName> <FieldValue>24279</FieldValue> </EndUserInfoFieldContractArray2> </Fields> </EndUserInfo> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Files attr0="OrderFileContractArray"isNull="false"/> <Hidden isNull="true"/> <ItemPrice>1000</ItemPrice> <Keys attr0="OrderKeyContractArray"isNull="false"> <OrderKeyContractArray0> <ActiveKey>Y63R-1O8M-4NGF-AMCM</ActiveKey> <DateAdd>26.02.2021 13:39:17</DateAdd> <Description>TestKey</Description> <KeyTypeId>1</KeyTypeId> <Satcode isNull="true"/> <SequenceNumber isNull="true"/> <VendorClientTransactionId>23f1fb79-ea18-4d33-ab41-44f6ff29a29c-62945</VendorClientTransactionId> </OrderKeyContractArray0> </Keys> <Links attr0="OrderLinkContractArray"isNull="false"> <OrderLinkContractArray0> <DateAdd>26.02.2021 13:39:17</DateAdd> <Description>Test link</Description> <Link>http://somesite.com/64BMMRKNSBJDPGLE</Link> <LinkTypeId>1</LinkTypeId> <VendorClientTransactionId>23f1fb79-ea18-4d33-ab41-44f6ff29a29c-62945</VendorClientTransactionId> </OrderLinkContractArray0> </Links> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc0000123-1</OrderLineNum> <OrderStatus>Successed</OrderStatus> <PartNum>ABC-11111</PartNum> <Quantity>1</Quantity> <ResellerComment>Comment1</ResellerComment> <SubscriptionId isNull="false"/> <TotalSumm>1000</TotalSumm> </OrderLineWiInstructionContractArray0> </OrderLines> <OrderNum>abc0000123</OrderNum> <OrderStatus>Successed</OrderStatus> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Errors attr0="ErrorContractArray"isNull="false"/> <IsError>False</IsError> </WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> </MethodParameters> </AddOrderDelayed>
Запрос SOAP с лицензионной формой
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddOrderDelayed> <MethodParameters> <orderRequest> <LangCode>RU</LangCode> <Phone>89023333300</Phone> <OrderNum>abc000001</OrderNum> <ResellerComment>for me</ResellerComment> <SendOrderLines attr0="SendOrderLineContractArray" isNull="false"> <SendOrderLineContractArray0> <Action isNull="false" /> <DateOn>20.02.2021 17:21:37</DateOn> <EndUserAxCode isNull="false" /> <EndUserCurrencyCode isNull="false" /> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>IsLegalPerson</FieldName> <FieldValue>false</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray3> </Fields> </EndUserInfo> <EndUserInvoiceNum isNull="false" /> <EndUserPrice>0</EndUserPrice> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc000001-01</OrderLineNum> <ParentOrderLineNum isNull="false" /> <ParentSubscriptionNum isNull="false" /> <PartNum>KL1849RDBFY</PartNum> <PaymentTransactionId isNull="false" /> <Quantity>5</Quantity> <ResellerComment>for me</ResellerComment> <ReserveLineId>0</ReserveLineId> <SubscriptionId isNull="false" /> </SendOrderLineContractArray0> </SendOrderLines> </orderRequest> </MethodParameters> </AddOrderDelayed>
Ответ SOAP с лицензионной формой
<AddOrderDelayed> <MethodParameters> <WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> <Data> <DateCreated>25.02.2021 15:49:47</DateCreated> <OrderLines isNull="false" attr0="OrderLineWiInstructionContractArray"> <OrderLineWiInstructionContractArray0> <FullInstructions isNull="false"/> <InstallInstructions isNull="false"/> <ProductTitle isNull="false"/> <Action isNull="true"/> <Currency>RUR</Currency> <DateCreated>25.02.2021 15:49:47</DateCreated> <EndUserInfo> <Fields isNull="false" attr0="EndUserInfoFieldContractArray"> <EndUserInfoFieldContractArray0> <FieldName>Phone</FieldName> <FieldValue>89023333300</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContractArray3> <EndUserInfoFieldContractArray4> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray4> <EndUserInfoFieldContractArray5> <FieldName>LicFormId</FieldName> <FieldValue>24227</FieldValue> </EndUserInfoFieldContractArray5> <EndUserInfoFieldContractArray6> <FieldName>IsLegalPerson</FieldName> <FieldValue>False</FieldValue> </EndUserInfoFieldContractArray6> </Fields> </EndUserInfo> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Files isNull="false" attr0="OrderFileContractArray"/> <Hidden isNull="true"/> <ItemPrice>3800</ItemPrice> <Keys isNull="false" attr0="OrderKeyContractArray"/> <Links isNull="false" attr0="OrderLinkContractArray"/> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc000001-01</OrderLineNum> <OrderStatus>InProcess</OrderStatus> <PartNum>KL1849RDBFY</PartNum> <Quantity>5</Quantity> <ResellerComment>for me</ResellerComment> <SubscriptionId isNull="false"/> <TotalSumm>19000</TotalSumm> </OrderLineWiInstructionContractArray0> </OrderLines> <OrderNum>abc000001</OrderNum> <OrderStatus>InProcess</OrderStatus> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Errors isNull="false" attr0="ErrorContractArray"/> <IsError>False</IsError> </WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> </MethodParameters> </AddOrderDelayed>
Запрос XmlOverHttp без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddOrderDelayed
<?xml version="1.0" ?> <SendOrderLangContract> <LangCode>RU</LangCode> <Phone>89023333300</Phone> <ResellerComment>Comment1</ResellerComment> <SendOrderLines> <SendOrderLineContract> <OrderLineNum>15266418520335574-01</OrderLineNum> <PartNum>ABC-11111</PartNum> <Quantity>1</Quantity> <EndUserInfo/> <ResellerComment>hello world</ResellerComment> </SendOrderLineContract> </SendOrderLines> <OrderNum>15266418520335574</OrderNum> </SendOrderLangContract>
Ответ XmlOverHttp без лицензионной формы
<?xml version="1.0" encoding="utf-8"?> <AddOrderDelayedResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <AddOrderDelayedResult> <Data> <OrderLines> <OrderLineWiInstructionContract> <Id>00000000-0000-0000-0000-000000000000</Id> <OrderLineId>211456</OrderLineId> <OrderLineNum>15266418520335574-01</OrderLineNum> <DateCreated>2021-04-21T12:21:22.7100722</DateCreated> <PartNum>ABC-11111</PartNum> <Quantity>1</Quantity> <TotalSumm>1000</TotalSumm> <ItemPrice>1000</ItemPrice> <Currency>RUR</Currency> <OrderStatus>Successed</OrderStatus> <EndUserInfo> <Fields> <EndUserInfoFieldContract> <FieldName>Phone</FieldName> <FieldValue>89023333300</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>LicFormId</FieldName> <FieldValue>24867</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <Keys> <OrderKeyContract> <ActiveKey>F5XA-R2JS-AY3T-MYWL</ActiveKey> <DateAdd>2021-04-21T12:21:26.723</DateAdd> <VendorClientTransactionId>f5b86eec-3c68-4e9e-a974-e4cc472c05ca-65950</VendorClientTransactionId> <KeyTypeId>1</KeyTypeId> <Description>TestKey</Description> </OrderKeyContract> </Keys> <Links> <OrderLinkContract> <Link>http://somesite.com/ORNAFL2FIV68130S</Link> <DateAdd>2021-04-21T12:21:26.723</DateAdd> <VendorClientTransactionId>f5b86eec-3c68-4e9e-a974-e4cc472c05ca-65950</VendorClientTransactionId> <LinkTypeId>1</LinkTypeId> <Description>Test link</Description> </OrderLinkContract> </Links> <Files/> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <ErrorCode>0</ErrorCode> <Hidden xsi:nil="true"/> <ResellerComment>hello world</ResellerComment> <HideKeys>false</HideKeys> <InstallInstructions/> <ProductTitle/> <FullInstructions>F5XA-R2JS-AY3T-MYWL</FullInstructions> </OrderLineWiInstructionContract> </OrderLines> <OrderNum>15266418520335574</OrderNum> <DateCreated>2021-04-21T12:21:22.69</DateCreated> <OrderStatus>Successed</OrderStatus> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddOrderDelayedResult> </AddOrderDelayedResponse>
Запрос XmlOverHttp с лицензионной формой
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddOrderDelayed
<?xml version="1.0" ?> <SendOrderLangContract> <LangCode>RU</LangCode> <SendOrderLines> <SendOrderLineContract> <OrderLineNum>abc100</OrderLineNum> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <EndUserInfo> <Fields> <EndUserInfoFieldContract> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>false</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> </SendOrderLineContract> </SendOrderLines> <OrderNum>abc100</OrderNum> </SendOrderLangContract>
Ответ XmlOverHttp с лицензионной формой
<?xml version="1.0" encoding="utf-8"?> <AddOrderDelayedResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddOrderDelayedResult> <Data> <OrderLines> <OrderLineWiInstructionContract> <Id>00000000-0000-0000-0000-000000000000</Id> <OrderLineId>210792</OrderLineId> <OrderLineNum>abc100</OrderLineNum> <DateCreated>2021-02-25T12:41:36.6874764</DateCreated> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <TotalSumm>3800</TotalSumm> <ItemPrice>3800</ItemPrice> <Currency>RUR</Currency> <OrderStatus>InProcess</OrderStatus> <EndUserInfo> <Fields> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>LicFormId</FieldName> <FieldValue>24224</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>False</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <Keys/> <Links/> <Files/> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <ErrorCode>0</ErrorCode> <Hidden xsi:nil="true"/> <HideKeys>false</HideKeys> <InstallInstructions/> <ProductTitle/> <FullInstructions/> </OrderLineWiInstructionContract> </OrderLines> <OrderNum>abc100</OrderNum> <DateCreated>2021-02-25T12:41:36.687</DateCreated> <OrderStatus>InProcess</OrderStatus> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddOrderDelayedResult> </AddOrderDelayedResponse>
Запрос SOAP без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddOrderDelayed> <MethodParameters> <orderRequest> <LangCode>RU</LangCode> <Phone>89032222222</Phone> <OrderNum>abc0000123</OrderNum> <ResellerComment>Comment1</ResellerComment> <SendOrderLines attr0="SendOrderLineContractArray" isNull="false"> <SendOrderLineContractArray0> <Action isNull="false" /> <DateOn>26.02.2021 11:19:37</DateOn> <EndUserAxCode isNull="false" /> <EndUserCurrencyCode isNull="false" /> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName isNull="false" /> <FieldValue isNull="false" /> </EndUserInfoFieldContractArray0> </Fields> </EndUserInfo> <EndUserInvoiceNum isNull="false" /> <EndUserPrice>0</EndUserPrice> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc0000123-1</OrderLineNum> <ParentOrderLineNum isNull="false" /> <ParentSubscriptionNum isNull="false" /> <PartNum>ABC-11111</PartNum> <PaymentTransactionId isNull="false" /> <Quantity>1</Quantity> <ResellerComment>Comment1</ResellerComment> <ReserveLineId>0</ReserveLineId> <SubscriptionId isNull="false" /> </SendOrderLineContractArray0> </SendOrderLines> </orderRequest> </MethodParameters> </AddOrderDelayed>
Ответ SOAP без лицензионной формы
<AddOrderDelayed> <MethodParameters> <WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> <Data> <DateCreated>26.02.2021 13:39:16</DateCreated> <OrderLines attr0="OrderLineWiInstructionContractArray"isNull="false"> <OrderLineWiInstructionContractArray0> <FullInstructions>Y63R-1O8M-4NGF-AMCM</FullInstructions> <InstallInstructions isNull="false"/> <ProductTitle isNull="false"/> <Action isNull="true"/> <Currency>RUR</Currency> <DateCreated>26.02.2021 13:39:16</DateCreated> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray"isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>Phone</FieldName> <FieldValue>89032222222</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>LicFormId</FieldName> <FieldValue>24279</FieldValue> </EndUserInfoFieldContractArray2> </Fields> </EndUserInfo> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Files attr0="OrderFileContractArray"isNull="false"/> <Hidden isNull="true"/> <ItemPrice>1000</ItemPrice> <Keys attr0="OrderKeyContractArray"isNull="false"> <OrderKeyContractArray0> <ActiveKey>Y63R-1O8M-4NGF-AMCM</ActiveKey> <DateAdd>26.02.2021 13:39:17</DateAdd> <Description>TestKey</Description> <KeyTypeId>1</KeyTypeId> <Satcode isNull="true"/> <SequenceNumber isNull="true"/> <VendorClientTransactionId>23f1fb79-ea18-4d33-ab41-44f6ff29a29c-62945</VendorClientTransactionId> </OrderKeyContractArray0> </Keys> <Links attr0="OrderLinkContractArray"isNull="false"> <OrderLinkContractArray0> <DateAdd>26.02.2021 13:39:17</DateAdd> <Description>Test link</Description> <Link>http://somesite.com/64BMMRKNSBJDPGLE</Link> <LinkTypeId>1</LinkTypeId> <VendorClientTransactionId>23f1fb79-ea18-4d33-ab41-44f6ff29a29c-62945</VendorClientTransactionId> </OrderLinkContractArray0> </Links> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc0000123-1</OrderLineNum> <OrderStatus>Successed</OrderStatus> <PartNum>ABC-11111</PartNum> <Quantity>1</Quantity> <ResellerComment>Comment1</ResellerComment> <SubscriptionId isNull="false"/> <TotalSumm>1000</TotalSumm> </OrderLineWiInstructionContractArray0> </OrderLines> <OrderNum>abc0000123</OrderNum> <OrderStatus>Successed</OrderStatus> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Errors attr0="ErrorContractArray"isNull="false"/> <IsError>False</IsError> </WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> </MethodParameters> </AddOrderDelayed>
Запрос SOAP с лицензионной формой
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddOrderDelayed> <MethodParameters> <orderRequest> <LangCode>RU</LangCode> <Phone>89023333300</Phone> <OrderNum>abc000001</OrderNum> <ResellerComment>for me</ResellerComment> <SendOrderLines attr0="SendOrderLineContractArray" isNull="false"> <SendOrderLineContractArray0> <Action isNull="false" /> <DateOn>20.02.2021 17:21:37</DateOn> <EndUserAxCode isNull="false" /> <EndUserCurrencyCode isNull="false" /> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>IsLegalPerson</FieldName> <FieldValue>false</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray3> </Fields> </EndUserInfo> <EndUserInvoiceNum isNull="false" /> <EndUserPrice>0</EndUserPrice> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc000001-01</OrderLineNum> <ParentOrderLineNum isNull="false" /> <ParentSubscriptionNum isNull="false" /> <PartNum>KL1849RDBFY</PartNum> <PaymentTransactionId isNull="false" /> <Quantity>5</Quantity> <ResellerComment>for me</ResellerComment> <ReserveLineId>0</ReserveLineId> <SubscriptionId isNull="false" /> </SendOrderLineContractArray0> </SendOrderLines> </orderRequest> </MethodParameters> </AddOrderDelayed>
Ответ SOAP с лицензионной формой
<AddOrderDelayed> <MethodParameters> <WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> <Data> <DateCreated>25.02.2021 15:49:47</DateCreated> <OrderLines isNull="false" attr0="OrderLineWiInstructionContractArray"> <OrderLineWiInstructionContractArray0> <FullInstructions isNull="false"/> <InstallInstructions isNull="false"/> <ProductTitle isNull="false"/> <Action isNull="true"/> <Currency>RUR</Currency> <DateCreated>25.02.2021 15:49:47</DateCreated> <EndUserInfo> <Fields isNull="false" attr0="EndUserInfoFieldContractArray"> <EndUserInfoFieldContractArray0> <FieldName>Phone</FieldName> <FieldValue>89023333300</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContractArray3> <EndUserInfoFieldContractArray4> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray4> <EndUserInfoFieldContractArray5> <FieldName>LicFormId</FieldName> <FieldValue>24227</FieldValue> </EndUserInfoFieldContractArray5> <EndUserInfoFieldContractArray6> <FieldName>IsLegalPerson</FieldName> <FieldValue>False</FieldValue> </EndUserInfoFieldContractArray6> </Fields> </EndUserInfo> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Files isNull="false" attr0="OrderFileContractArray"/> <Hidden isNull="true"/> <ItemPrice>3800</ItemPrice> <Keys isNull="false" attr0="OrderKeyContractArray"/> <Links isNull="false" attr0="OrderLinkContractArray"/> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc000001-01</OrderLineNum> <OrderStatus>InProcess</OrderStatus> <PartNum>KL1849RDBFY</PartNum> <Quantity>5</Quantity> <ResellerComment>for me</ResellerComment> <SubscriptionId isNull="false"/> <TotalSumm>19000</TotalSumm> </OrderLineWiInstructionContractArray0> </OrderLines> <OrderNum>abc000001</OrderNum> <OrderStatus>InProcess</OrderStatus> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Errors isNull="false" attr0="ErrorContractArray"/> <IsError>False</IsError> </WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> </MethodParameters> </AddOrderDelayed>
Запрос XmlOverHttp без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddOrderDelayed
<?xml version="1.0" ?> <SendOrderLangContract> <LangCode>RU</LangCode> <Phone>89023333300</Phone> <ResellerComment>Comment1</ResellerComment> <SendOrderLines> <SendOrderLineContract> <OrderLineNum>15266418520335574-01</OrderLineNum> <PartNum>ABC-11111</PartNum> <Quantity>1</Quantity> <EndUserInfo/> <ResellerComment>hello world</ResellerComment> </SendOrderLineContract> </SendOrderLines> <OrderNum>15266418520335574</OrderNum> </SendOrderLangContract>
Ответ XmlOverHttp без лицензионной формы
<?xml version="1.0" encoding="utf-8"?> <AddOrderDelayedResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <AddOrderDelayedResult> <Data> <OrderLines> <OrderLineWiInstructionContract> <Id>00000000-0000-0000-0000-000000000000</Id> <OrderLineId>211456</OrderLineId> <OrderLineNum>15266418520335574-01</OrderLineNum> <DateCreated>2021-04-21T12:21:22.7100722</DateCreated> <PartNum>ABC-11111</PartNum> <Quantity>1</Quantity> <TotalSumm>1000</TotalSumm> <ItemPrice>1000</ItemPrice> <Currency>RUR</Currency> <OrderStatus>Successed</OrderStatus> <EndUserInfo> <Fields> <EndUserInfoFieldContract> <FieldName>Phone</FieldName> <FieldValue>89023333300</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>LicFormId</FieldName> <FieldValue>24867</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <Keys> <OrderKeyContract> <ActiveKey>F5XA-R2JS-AY3T-MYWL</ActiveKey> <DateAdd>2021-04-21T12:21:26.723</DateAdd> <VendorClientTransactionId>f5b86eec-3c68-4e9e-a974-e4cc472c05ca-65950</VendorClientTransactionId> <KeyTypeId>1</KeyTypeId> <Description>TestKey</Description> </OrderKeyContract> </Keys> <Links> <OrderLinkContract> <Link>http://somesite.com/ORNAFL2FIV68130S</Link> <DateAdd>2021-04-21T12:21:26.723</DateAdd> <VendorClientTransactionId>f5b86eec-3c68-4e9e-a974-e4cc472c05ca-65950</VendorClientTransactionId> <LinkTypeId>1</LinkTypeId> <Description>Test link</Description> </OrderLinkContract> </Links> <Files/> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <ErrorCode>0</ErrorCode> <Hidden xsi:nil="true"/> <ResellerComment>hello world</ResellerComment> <HideKeys>false</HideKeys> <InstallInstructions/> <ProductTitle/> <FullInstructions>F5XA-R2JS-AY3T-MYWL</FullInstructions> </OrderLineWiInstructionContract> </OrderLines> <OrderNum>15266418520335574</OrderNum> <DateCreated>2021-04-21T12:21:22.69</DateCreated> <OrderStatus>Successed</OrderStatus> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddOrderDelayedResult> </AddOrderDelayedResponse>
Запрос XmlOverHttp с лицензионной формой
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddOrderDelayed
<?xml version="1.0" ?> <SendOrderLangContract> <LangCode>RU</LangCode> <SendOrderLines> <SendOrderLineContract> <OrderLineNum>abc100</OrderLineNum> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <EndUserInfo> <Fields> <EndUserInfoFieldContract> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>false</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> </SendOrderLineContract> </SendOrderLines> <OrderNum>abc100</OrderNum> </SendOrderLangContract>
Ответ XmlOverHttp с лицензионной формой
<?xml version="1.0" encoding="utf-8"?> <AddOrderDelayedResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddOrderDelayedResult> <Data> <OrderLines> <OrderLineWiInstructionContract> <Id>00000000-0000-0000-0000-000000000000</Id> <OrderLineId>210792</OrderLineId> <OrderLineNum>abc100</OrderLineNum> <DateCreated>2021-02-25T12:41:36.6874764</DateCreated> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <TotalSumm>3800</TotalSumm> <ItemPrice>3800</ItemPrice> <Currency>RUR</Currency> <OrderStatus>InProcess</OrderStatus> <EndUserInfo> <Fields> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>LicFormId</FieldName> <FieldValue>24224</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>False</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <Keys/> <Links/> <Files/> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <ErrorCode>0</ErrorCode> <Hidden xsi:nil="true"/> <HideKeys>false</HideKeys> <InstallInstructions/> <ProductTitle/> <FullInstructions/> </OrderLineWiInstructionContract> </OrderLines> <OrderNum>abc100</OrderNum> <DateCreated>2021-02-25T12:41:36.687</DateCreated> <OrderStatus>InProcess</OrderStatus> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddOrderDelayedResult> </AddOrderDelayedResponse>
Запрос SOAP без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddOrderDelayed> <MethodParameters> <orderRequest> <LangCode>RU</LangCode> <Phone>89032222222</Phone> <OrderNum>abc0000123</OrderNum> <ResellerComment>Comment1</ResellerComment> <SendOrderLines attr0="SendOrderLineContractArray" isNull="false"> <SendOrderLineContractArray0> <Action isNull="false" /> <DateOn>26.02.2021 11:19:37</DateOn> <EndUserAxCode isNull="false" /> <EndUserCurrencyCode isNull="false" /> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName isNull="false" /> <FieldValue isNull="false" /> </EndUserInfoFieldContractArray0> </Fields> </EndUserInfo> <EndUserInvoiceNum isNull="false" /> <EndUserPrice>0</EndUserPrice> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc0000123-1</OrderLineNum> <ParentOrderLineNum isNull="false" /> <ParentSubscriptionNum isNull="false" /> <PartNum>ABC-11111</PartNum> <PaymentTransactionId isNull="false" /> <Quantity>1</Quantity> <ResellerComment>Comment1</ResellerComment> <ReserveLineId>0</ReserveLineId> <SubscriptionId isNull="false" /> </SendOrderLineContractArray0> </SendOrderLines> </orderRequest> </MethodParameters> </AddOrderDelayed>
Ответ SOAP без лицензионной формы
<AddOrderDelayed> <MethodParameters> <WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> <Data> <DateCreated>26.02.2021 13:39:16</DateCreated> <OrderLines attr0="OrderLineWiInstructionContractArray"isNull="false"> <OrderLineWiInstructionContractArray0> <FullInstructions>Y63R-1O8M-4NGF-AMCM</FullInstructions> <InstallInstructions isNull="false"/> <ProductTitle isNull="false"/> <Action isNull="true"/> <Currency>RUR</Currency> <DateCreated>26.02.2021 13:39:16</DateCreated> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray"isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>Phone</FieldName> <FieldValue>89032222222</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>LicFormId</FieldName> <FieldValue>24279</FieldValue> </EndUserInfoFieldContractArray2> </Fields> </EndUserInfo> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Files attr0="OrderFileContractArray"isNull="false"/> <Hidden isNull="true"/> <ItemPrice>1000</ItemPrice> <Keys attr0="OrderKeyContractArray"isNull="false"> <OrderKeyContractArray0> <ActiveKey>Y63R-1O8M-4NGF-AMCM</ActiveKey> <DateAdd>26.02.2021 13:39:17</DateAdd> <Description>TestKey</Description> <KeyTypeId>1</KeyTypeId> <Satcode isNull="true"/> <SequenceNumber isNull="true"/> <VendorClientTransactionId>23f1fb79-ea18-4d33-ab41-44f6ff29a29c-62945</VendorClientTransactionId> </OrderKeyContractArray0> </Keys> <Links attr0="OrderLinkContractArray"isNull="false"> <OrderLinkContractArray0> <DateAdd>26.02.2021 13:39:17</DateAdd> <Description>Test link</Description> <Link>http://somesite.com/64BMMRKNSBJDPGLE</Link> <LinkTypeId>1</LinkTypeId> <VendorClientTransactionId>23f1fb79-ea18-4d33-ab41-44f6ff29a29c-62945</VendorClientTransactionId> </OrderLinkContractArray0> </Links> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc0000123-1</OrderLineNum> <OrderStatus>Successed</OrderStatus> <PartNum>ABC-11111</PartNum> <Quantity>1</Quantity> <ResellerComment>Comment1</ResellerComment> <SubscriptionId isNull="false"/> <TotalSumm>1000</TotalSumm> </OrderLineWiInstructionContractArray0> </OrderLines> <OrderNum>abc0000123</OrderNum> <OrderStatus>Successed</OrderStatus> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Errors attr0="ErrorContractArray"isNull="false"/> <IsError>False</IsError> </WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> </MethodParameters> </AddOrderDelayed>
Запрос SOAP с лицензионной формой
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddOrderDelayed> <MethodParameters> <orderRequest> <LangCode>RU</LangCode> <Phone>89023333300</Phone> <OrderNum>abc000001</OrderNum> <ResellerComment>for me</ResellerComment> <SendOrderLines attr0="SendOrderLineContractArray" isNull="false"> <SendOrderLineContractArray0> <Action isNull="false" /> <DateOn>20.02.2021 17:21:37</DateOn> <EndUserAxCode isNull="false" /> <EndUserCurrencyCode isNull="false" /> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>IsLegalPerson</FieldName> <FieldValue>false</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray3> </Fields> </EndUserInfo> <EndUserInvoiceNum isNull="false" /> <EndUserPrice>0</EndUserPrice> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc000001-01</OrderLineNum> <ParentOrderLineNum isNull="false" /> <ParentSubscriptionNum isNull="false" /> <PartNum>KL1849RDBFY</PartNum> <PaymentTransactionId isNull="false" /> <Quantity>5</Quantity> <ResellerComment>for me</ResellerComment> <ReserveLineId>0</ReserveLineId> <SubscriptionId isNull="false" /> </SendOrderLineContractArray0> </SendOrderLines> </orderRequest> </MethodParameters> </AddOrderDelayed>
Ответ SOAP с лицензионной формой
<AddOrderDelayed> <MethodParameters> <WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> <Data> <DateCreated>25.02.2021 15:49:47</DateCreated> <OrderLines isNull="false" attr0="OrderLineWiInstructionContractArray"> <OrderLineWiInstructionContractArray0> <FullInstructions isNull="false"/> <InstallInstructions isNull="false"/> <ProductTitle isNull="false"/> <Action isNull="true"/> <Currency>RUR</Currency> <DateCreated>25.02.2021 15:49:47</DateCreated> <EndUserInfo> <Fields isNull="false" attr0="EndUserInfoFieldContractArray"> <EndUserInfoFieldContractArray0> <FieldName>Phone</FieldName> <FieldValue>89023333300</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>Email</FieldName> <FieldValue>vasyapupkin@mail.ru</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>CustomerName</FieldName> <FieldValue>Vasya Pupkin</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>Country</FieldName> <FieldValue>Russia</FieldValue> </EndUserInfoFieldContractArray3> <EndUserInfoFieldContractArray4> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray4> <EndUserInfoFieldContractArray5> <FieldName>LicFormId</FieldName> <FieldValue>24227</FieldValue> </EndUserInfoFieldContractArray5> <EndUserInfoFieldContractArray6> <FieldName>IsLegalPerson</FieldName> <FieldValue>False</FieldValue> </EndUserInfoFieldContractArray6> </Fields> </EndUserInfo> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Files isNull="false" attr0="OrderFileContractArray"/> <Hidden isNull="true"/> <ItemPrice>3800</ItemPrice> <Keys isNull="false" attr0="OrderKeyContractArray"/> <Links isNull="false" attr0="OrderLinkContractArray"/> <MontSubscriberId>00000000-0000-0000-0000-000000000000</MontSubscriberId> <OrderLineNum>abc000001-01</OrderLineNum> <OrderStatus>InProcess</OrderStatus> <PartNum>KL1849RDBFY</PartNum> <Quantity>5</Quantity> <ResellerComment>for me</ResellerComment> <SubscriptionId isNull="false"/> <TotalSumm>19000</TotalSumm> </OrderLineWiInstructionContractArray0> </OrderLines> <OrderNum>abc000001</OrderNum> <OrderStatus>InProcess</OrderStatus> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Errors isNull="false" attr0="ErrorContractArray"/> <IsError>False</IsError> </WebStoreResponseContractOfOrderWiInstructionContractig8CMuuI> </MethodParameters> </AddOrderDelayed>
In case when sale to the end user is successfull, the partner can send a request for confirm of the delayed order. The order will be considered successful and it's data will be sent to the MONT reporting system without waiting for the end of 2 hours. After 2 hours from the moment of placing the delayed order, the system will consider the order successful anyway (even without confirmation).
Метод используется в схеме размещения отложенного заказа для подтверждения размещенного “отложенного заказа” в системе MontWebstore. В случае, когда продажа конечному клиенту состоялась, партнёр должен отправить запрос на подтверждение отложенного заказа. В этом случае заказ будет считаться успешным и информация по нему отправится в систему отчётности MONT. Если при размещении заказа был указан номер телефона клиента, то при подтверждении заказа на этот номер будет отправлена СМС.
Название | Тип | Описание |
---|---|---|
orderNumber | string | Номер заказа (пример: abc0000123) |
Тип | Описание |
---|---|
bool | Объект , содержащий статус выполнения операции |
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/ConfirmDelayedOrder?ordernumber=asf1
<?xml version="1.0" encoding="utf-8"?> <ConfirmDelayedOrderResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ConfirmDelayedOrderResult> <Data> true </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </GetOrderResult> </ConfirmDelayedOrderrResponse>
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<ConfirmDelayedOrder> <MethodParameters> <orderNumber>abc00001</orderNumber> </MethodParameters> </ConfirmDelayedOrder>
<ConfirmDelayedOrder> <MethodParameters> <WebStoreResponseContractOfboolean> <Data>True</Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Errors attr0="ErrorContractArray"isNull="false"/> <IsError>False</IsError> </WebStoreResponseContractOfboolean> </MethodParameters> </ConfirmDelayedOrder>
Код | Текст ошибки |
---|---|
3 | Заказ не найден |
6006 | Не нужно делать эту операцию для обычного заказа |
6002 | Уже успешно подтвержден |
6001 | Невозможно подтвердить отложенный заказ |
The method is used to cancel the placed “delayed” order in the MontWebstore system.
Name | Type | Description |
---|---|---|
orderNumber | string | Order number |
Type | Description |
---|---|
bool | Object containing the status of the operation |
Error code | Error text |
---|---|
3 | Order not found |
6006 | Operation is not allowed for not dellayed order |
6007 | Order is already refused |
6004 | Can't refuse delayed order |
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/RefuseDelayedOrder?ordernumber=abc0000123
<?xml version="1.0" encoding="utf-8"?> <RefuseDelayedOrderResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RefuseDelayedOrderResult> <Data> true </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </RefuseDelayedOrderResult> </CRefuseDelayedOrderResponse>
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<RefuseDelayedOrder> <MethodParameters> <orderNumber>abc0000123</orderNumber> </MethodParameters> </RefuseDelayedOrder>
<RefuseDelayedOrder> <MethodParameters> <WebStoreResponseContractOfboolean> <Data>True</Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Errors attr0="ErrorContractArray"isNull="false"/> <IsError>False</IsError> </WebStoreResponseContractOfboolean> </MethodParameters> </RefuseDelayedOrder>
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/RefuseDelayedOrder?ordernumber=abc0000123
<?xml version="1.0" encoding="utf-8"?> <RefuseDelayedOrderResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RefuseDelayedOrderResult> <Data> true </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </RefuseDelayedOrderResult> </CRefuseDelayedOrderResponse>
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<RefuseDelayedOrder> <MethodParameters> <orderNumber>abc0000123</orderNumber> </MethodParameters> </RefuseDelayedOrder>
<RefuseDelayedOrder> <MethodParameters> <WebStoreResponseContractOfboolean> <Data>True</Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Errors attr0="ErrorContractArray"isNull="false"/> <IsError>False</IsError> </WebStoreResponseContractOfboolean> </MethodParameters> </RefuseDelayedOrder>
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/RefuseDelayedOrder?ordernumber=abc0000123
<?xml version="1.0" encoding="utf-8"?> <RefuseDelayedOrderResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RefuseDelayedOrderResult> <Data> true </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </RefuseDelayedOrderResult> </CRefuseDelayedOrderResponse>
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<RefuseDelayedOrder> <MethodParameters> <orderNumber>abc0000123</orderNumber> </MethodParameters> </RefuseDelayedOrder>
<RefuseDelayedOrder> <MethodParameters> <WebStoreResponseContractOfboolean> <Data>True</Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Errors attr0="ErrorContractArray"isNull="false"/> <IsError>False</IsError> </WebStoreResponseContractOfboolean> </MethodParameters> </RefuseDelayedOrder>
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/RefuseDelayedOrder?ordernumber=abc0000123
<?xml version="1.0" encoding="utf-8"?> <RefuseDelayedOrderResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RefuseDelayedOrderResult> <Data> true </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </RefuseDelayedOrderResult> </CRefuseDelayedOrderResponse>
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<RefuseDelayedOrder> <MethodParameters> <orderNumber>abc0000123</orderNumber> </MethodParameters> </RefuseDelayedOrder>
<RefuseDelayedOrder> <MethodParameters> <WebStoreResponseContractOfboolean> <Data>True</Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true"/> <Errors attr0="ErrorContractArray"isNull="false"/> <IsError>False</IsError> </WebStoreResponseContractOfboolean> </MethodParameters> </RefuseDelayedOrder>