новое событие
Информационный поток
Задания вакансии материалы разработки сообщения форума
Форум

Обсуждение к заданию: Интеграция УТ 11 с внешней системой по API

    • #1
    • 26.10.2018 15:54
    0
    Есть поставщик который у себя аккумулирует данные по товарам разных дистрибьюторов. Реализовал апи по которому приходят данные о товарах в разрезе поставщиков, цен, остатков, время поставки, + рез...  Подробнее>>
    • #2
    • 26.10.2018 15:54
    +1
    Приложите описание АПИ
    • #3
    • 26.10.2018 15:56
    +1
    CreateInvoice
    Test
    The test form is only available for requests from the local machine.
    SOAP 1.1
    The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

    POST /UltimaWebServices/ReverseApi.asmx HTTP/1.1
    Host: webservice
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    SOAPAction: "http://just.ru/CreateInvoice"

    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <CreateInvoice xmlns="http://just.ru/">
    <login>string</login>
    <token>string</token>
    <documentID>long</documentID>
    </CreateInvoice>
    </soap:Body>
    </soap:Envelope>
    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    Content-Length: length

    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <CreateInvoiceResponse xmlns="http://just.ru/">
    <CreateInvoiceResult>long</CreateInvoiceResult>
    <error>
    <Message>string</Message>
    <DebugMessage>string</DebugMessage>
    </error>
    </CreateInvoiceResponse>
    </soap:Body>
    </soap:Envelope>
    SOAP 1.2
    The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

    POST /UltimaWebServices/ReverseApi.asmx HTTP/1.1
    Host: webservice
    Content-Type: application/soap+xml; charset=utf-8
    Content-Length: length

    <?xml version="1.0" encoding="utf-8"?>
    <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>
    <CreateInvoice xmlns="http://just.ru/">
    <login>string</login>
    <token>string</token>
    <documentID>long</documentID>
    </CreateInvoice>
    </soap12:Body>
    </soap12:Envelope>
    HTTP/1.1 200 OK
    Content-Type: application/soap+xml; charset=utf-8
    Content-Length: length

    <?xml version="1.0" encoding="utf-8"?>
    <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>
    <CreateInvoiceResponse xmlns="http://just.ru/">
    <CreateInvoiceResult>long</CreateInvoiceResult>
    <error>
    <Message>string</Message>
    <DebugMessage>string</DebugMessage>
    </error>
    </CreateInvoiceResponse>
    </soap12:Body>
    </soap12:Envelope>


    DeleteReserve
    Test
    The test form is only available for requests from the local machine.
    SOAP 1.1
    The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

    POST /UltimaWebServices/ReverseApi.asmx HTTP/1.1
    Host: webservice
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    SOAPAction: "http://just.ru/DeleteReserve"

    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <DeleteReserve xmlns="http://just.ru/">
    <login>string</login>
    <token>string</token>
    <ID>long</ID>
    </DeleteReserve>
    </soap:Body>
    </soap:Envelope>
    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    Content-Length: length

    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <DeleteReserveResponse xmlns="http://just.ru/">
    <DeleteReserveResult>boolean</DeleteReserveResult>
    <error>
    <Message>string</Message>
    <DebugMessage>string</DebugMessage>
    </error>
    </DeleteReserveResponse>
    </soap:Body>
    </soap:Envelope>
    SOAP 1.2
    The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

    POST /UltimaWebServices/ReverseApi.asmx HTTP/1.1
    Host: webservice
    Content-Type: application/soap+xml; charset=utf-8
    Content-Length: length

    <?xml version="1.0" encoding="utf-8"?>
    <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>
    <DeleteReserve xmlns="http://just.ru/">
    <login>string</login>
    <token>string</token>
    <ID>long</ID>
    </DeleteReserve>
    </soap12:Body>
    </soap12:Envelope>
    HTTP/1.1 200 OK
    Content-Type: application/soap+xml; charset=utf-8
    Content-Length: length

    <?xml version="1.0" encoding="utf-8"?>
    <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>
    <DeleteReserveResponse xmlns="http://just.ru/">
    <DeleteReserveResult>boolean</DeleteReserveResult>
    <error>
    <Message>string</Message>
    <DebugMessage>string</DebugMessage>
    </error>
    </DeleteReserveResponse>
    </soap12:Body>
    </soap12:Envelope>
    • #4
    • 26.10.2018 19:58
    +1
    Есть ли нормальное описание API от поставщика услуги?
Для участия в обсуждении Вам необходимо авторизоваться либо   зарегистрироваться