IvecoPartsWebService


Click here for a complete list of operations.

GetStockAvailability

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 /IvecoPartsWebService.asmx HTTP/1.1
Host: csps.ghetti.it
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "ns1:GetStockAvailability"

<?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>
    <GetStockAvailability xmlns="http://www.iveco.com/XML/SOAP/IvecoParts">
      <ESB_Message xmlns="">
        <ESB_Envelope>
          <ESB_Version>string</ESB_Version>
          <MSG_TYPE>string</MSG_TYPE>
          <TID>string</TID>
          <TIDTimestamp>dateTime</TIDTimestamp>
          <IDFlow>string</IDFlow>
          <Sender>string</Sender>
          <LogicalTarget>string</LogicalTarget>
        </ESB_Envelope>
        <ESB_Attributes>
          <TTL>string</TTL>
          <FlowVersion>string</FlowVersion>
          <Authentication>
            <user>string</user>
            <password>string</password>
          </Authentication>
        </ESB_Attributes>
        <ESB_Payload>
          <IvecoPartsStockAvailabilityRequest>
            <Orders xsi:nil="true" />
          </IvecoPartsStockAvailabilityRequest>
          <IvecoPartsStockAvailabilityResponse>
            <Orders xsi:nil="true" />
          </IvecoPartsStockAvailabilityResponse>
          <IvecoPartsBookingOrderRequest>
            <Order xsi:nil="true" />
          </IvecoPartsBookingOrderRequest>
          <IvecoPartsBookingOrderResponse>
            <DMSResponse xsi:nil="true" />
          </IvecoPartsBookingOrderResponse>
          <IvecoPartsConfirmOrderRequest>
            <Orders xsi:nil="true" />
          </IvecoPartsConfirmOrderRequest>
          <IvecoPartsConfirmOrderResponse>
            <DMSResponse xsi:nil="true" />
          </IvecoPartsConfirmOrderResponse>
          <IvecoPartsHelloRequest>
            <UserInfo xsi:nil="true" />
          </IvecoPartsHelloRequest>
          <IvecoPartsHelloResponse>
            <UserData xsi:nil="true" />
            <Services xsi:nil="true" />
            <ChangeUserData xsi:nil="true" />
          </IvecoPartsHelloResponse>
        </ESB_Payload>
      </ESB_Message>
    </GetStockAvailability>
  </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>
    <GetStockAvailabilityReturn xmlns="http://www.iveco.com/XML/SOAP/IvecoParts">
      <ESB_Message xmlns="">
        <ESB_Envelope>
          <ESB_Version>string</ESB_Version>
          <MSG_TYPE>string</MSG_TYPE>
          <TID>string</TID>
          <TIDTimestamp>dateTime</TIDTimestamp>
          <IDFlow>string</IDFlow>
          <Sender>string</Sender>
          <LogicalTarget>string</LogicalTarget>
        </ESB_Envelope>
        <ESB_Attributes>
          <TTL>string</TTL>
          <FlowVersion>string</FlowVersion>
          <Authentication>
            <user>string</user>
            <password>string</password>
          </Authentication>
        </ESB_Attributes>
        <ESB_Payload>
          <IvecoPartsStockAvailabilityRequest>
            <Orders xsi:nil="true" />
          </IvecoPartsStockAvailabilityRequest>
          <IvecoPartsStockAvailabilityResponse>
            <Orders xsi:nil="true" />
          </IvecoPartsStockAvailabilityResponse>
          <IvecoPartsBookingOrderRequest>
            <Order xsi:nil="true" />
          </IvecoPartsBookingOrderRequest>
          <IvecoPartsBookingOrderResponse>
            <DMSResponse xsi:nil="true" />
          </IvecoPartsBookingOrderResponse>
          <IvecoPartsConfirmOrderRequest>
            <Orders xsi:nil="true" />
          </IvecoPartsConfirmOrderRequest>
          <IvecoPartsConfirmOrderResponse>
            <DMSResponse xsi:nil="true" />
          </IvecoPartsConfirmOrderResponse>
          <IvecoPartsHelloRequest>
            <UserInfo xsi:nil="true" />
          </IvecoPartsHelloRequest>
          <IvecoPartsHelloResponse>
            <UserData xsi:nil="true" />
            <Services xsi:nil="true" />
            <ChangeUserData xsi:nil="true" />
          </IvecoPartsHelloResponse>
        </ESB_Payload>
      </ESB_Message>
    </GetStockAvailabilityReturn>
  </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 /IvecoPartsWebService.asmx HTTP/1.1
Host: csps.ghetti.it
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>
    <GetStockAvailability xmlns="http://www.iveco.com/XML/SOAP/IvecoParts">
      <ESB_Message xmlns="">
        <ESB_Envelope>
          <ESB_Version>string</ESB_Version>
          <MSG_TYPE>string</MSG_TYPE>
          <TID>string</TID>
          <TIDTimestamp>dateTime</TIDTimestamp>
          <IDFlow>string</IDFlow>
          <Sender>string</Sender>
          <LogicalTarget>string</LogicalTarget>
        </ESB_Envelope>
        <ESB_Attributes>
          <TTL>string</TTL>
          <FlowVersion>string</FlowVersion>
          <Authentication>
            <user>string</user>
            <password>string</password>
          </Authentication>
        </ESB_Attributes>
        <ESB_Payload>
          <IvecoPartsStockAvailabilityRequest>
            <Orders xsi:nil="true" />
          </IvecoPartsStockAvailabilityRequest>
          <IvecoPartsStockAvailabilityResponse>
            <Orders xsi:nil="true" />
          </IvecoPartsStockAvailabilityResponse>
          <IvecoPartsBookingOrderRequest>
            <Order xsi:nil="true" />
          </IvecoPartsBookingOrderRequest>
          <IvecoPartsBookingOrderResponse>
            <DMSResponse xsi:nil="true" />
          </IvecoPartsBookingOrderResponse>
          <IvecoPartsConfirmOrderRequest>
            <Orders xsi:nil="true" />
          </IvecoPartsConfirmOrderRequest>
          <IvecoPartsConfirmOrderResponse>
            <DMSResponse xsi:nil="true" />
          </IvecoPartsConfirmOrderResponse>
          <IvecoPartsHelloRequest>
            <UserInfo xsi:nil="true" />
          </IvecoPartsHelloRequest>
          <IvecoPartsHelloResponse>
            <UserData xsi:nil="true" />
            <Services xsi:nil="true" />
            <ChangeUserData xsi:nil="true" />
          </IvecoPartsHelloResponse>
        </ESB_Payload>
      </ESB_Message>
    </GetStockAvailability>
  </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>
    <GetStockAvailabilityReturn xmlns="http://www.iveco.com/XML/SOAP/IvecoParts">
      <ESB_Message xmlns="">
        <ESB_Envelope>
          <ESB_Version>string</ESB_Version>
          <MSG_TYPE>string</MSG_TYPE>
          <TID>string</TID>
          <TIDTimestamp>dateTime</TIDTimestamp>
          <IDFlow>string</IDFlow>
          <Sender>string</Sender>
          <LogicalTarget>string</LogicalTarget>
        </ESB_Envelope>
        <ESB_Attributes>
          <TTL>string</TTL>
          <FlowVersion>string</FlowVersion>
          <Authentication>
            <user>string</user>
            <password>string</password>
          </Authentication>
        </ESB_Attributes>
        <ESB_Payload>
          <IvecoPartsStockAvailabilityRequest>
            <Orders xsi:nil="true" />
          </IvecoPartsStockAvailabilityRequest>
          <IvecoPartsStockAvailabilityResponse>
            <Orders xsi:nil="true" />
          </IvecoPartsStockAvailabilityResponse>
          <IvecoPartsBookingOrderRequest>
            <Order xsi:nil="true" />
          </IvecoPartsBookingOrderRequest>
          <IvecoPartsBookingOrderResponse>
            <DMSResponse xsi:nil="true" />
          </IvecoPartsBookingOrderResponse>
          <IvecoPartsConfirmOrderRequest>
            <Orders xsi:nil="true" />
          </IvecoPartsConfirmOrderRequest>
          <IvecoPartsConfirmOrderResponse>
            <DMSResponse xsi:nil="true" />
          </IvecoPartsConfirmOrderResponse>
          <IvecoPartsHelloRequest>
            <UserInfo xsi:nil="true" />
          </IvecoPartsHelloRequest>
          <IvecoPartsHelloResponse>
            <UserData xsi:nil="true" />
            <Services xsi:nil="true" />
            <ChangeUserData xsi:nil="true" />
          </IvecoPartsHelloResponse>
        </ESB_Payload>
      </ESB_Message>
    </GetStockAvailabilityReturn>
  </soap12:Body>
</soap12:Envelope>