WebService


Click here for a complete list of operations.

OrderSent

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 /WebService.asmx HTTP/1.1
Host: ozgu.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/OrderSent"

<?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:Header>
    <AuthHeader xmlns="http://tempuri.org/">
      <Username>string</Username>
      <Password>string</Password>
    </AuthHeader>
  </soap:Header>
  <soap:Body>
    <OrderSent xmlns="http://tempuri.org/">
      <input>
        <OrderNumber>string</OrderNumber>
        <CustomerNumber>string</CustomerNumber>
        <CustomerName>string</CustomerName>
        <Store>string</Store>
        <CustomerPhone>string</CustomerPhone>
        <CustomerType>string</CustomerType>
        <Business>string</Business>
        <RefOrdernumber>string</RefOrdernumber>
        <OrderNote>string</OrderNote>
        <OrderTimeStamp>string</OrderTimeStamp>
        <Item>
          <OrderUpdateItemRelations>
            <ITEM_NUMBER>int</ITEM_NUMBER>
            <MATERIALGROUP>string</MATERIALGROUP>
            <MATERIALGROUp_T>string</MATERIALGROUp_T>
            <SECTION>string</SECTION>
            <SECTION_T>string</SECTION_T>
            <MATERIAL>string</MATERIAL>
            <METARIAL_T>string</METARIAL_T>
            <Installation>string</Installation>
            <Transport>string</Transport>
            <PortTransport>string</PortTransport>
            <Protage>string</Protage>
            <Desi>decimal</Desi>
            <OrderQuantity>decimal</OrderQuantity>
            <Unit>string</Unit>
            <GrossWeight>decimal</GrossWeight>
            <WeightUnit>string</WeightUnit>
            <InstallationValue>decimal</InstallationValue>
            <InstallationUnit>string</InstallationUnit>
            <ItemType>string</ItemType>
            <TransportDate>string</TransportDate>
            <InstallationDate>string</InstallationDate>
            <PortarageType>string</PortarageType>
            <InstallationType>string</InstallationType>
            <InstallationSubType>string</InstallationSubType>
            <Installationteam>string</Installationteam>
            <Adress>string</Adress>
            <GeoCodeX>string</GeoCodeX>
            <GeoCodeY>string</GeoCodeY>
            <TotalDistance>string</TotalDistance>
            <ExtraDistance>string</ExtraDistance>
            <AdressNo>string</AdressNo>
            <RejectionStatus>string</RejectionStatus>
            <HigherItemNo>string</HigherItemNo>
            <HedefId>int</HedefId>
            <OzguNakliyeHakedis>int</OzguNakliyeHakedis>
            <OzguMontajHakedis>int</OzguMontajHakedis>
          </OrderUpdateItemRelations>
          <OrderUpdateItemRelations>
            <ITEM_NUMBER>int</ITEM_NUMBER>
            <MATERIALGROUP>string</MATERIALGROUP>
            <MATERIALGROUp_T>string</MATERIALGROUp_T>
            <SECTION>string</SECTION>
            <SECTION_T>string</SECTION_T>
            <MATERIAL>string</MATERIAL>
            <METARIAL_T>string</METARIAL_T>
            <Installation>string</Installation>
            <Transport>string</Transport>
            <PortTransport>string</PortTransport>
            <Protage>string</Protage>
            <Desi>decimal</Desi>
            <OrderQuantity>decimal</OrderQuantity>
            <Unit>string</Unit>
            <GrossWeight>decimal</GrossWeight>
            <WeightUnit>string</WeightUnit>
            <InstallationValue>decimal</InstallationValue>
            <InstallationUnit>string</InstallationUnit>
            <ItemType>string</ItemType>
            <TransportDate>string</TransportDate>
            <InstallationDate>string</InstallationDate>
            <PortarageType>string</PortarageType>
            <InstallationType>string</InstallationType>
            <InstallationSubType>string</InstallationSubType>
            <Installationteam>string</Installationteam>
            <Adress>string</Adress>
            <GeoCodeX>string</GeoCodeX>
            <GeoCodeY>string</GeoCodeY>
            <TotalDistance>string</TotalDistance>
            <ExtraDistance>string</ExtraDistance>
            <AdressNo>string</AdressNo>
            <RejectionStatus>string</RejectionStatus>
            <HigherItemNo>string</HigherItemNo>
            <HedefId>int</HedefId>
            <OzguNakliyeHakedis>int</OzguNakliyeHakedis>
            <OzguMontajHakedis>int</OzguMontajHakedis>
          </OrderUpdateItemRelations>
        </Item>
        <ItemRelation>
          <ItemRelationModel>
            <StokSiparisNo>string</StokSiparisNo>
            <HizmetSiparisNo>string</HizmetSiparisNo>
          </ItemRelationModel>
          <ItemRelationModel>
            <StokSiparisNo>string</StokSiparisNo>
            <HizmetSiparisNo>string</HizmetSiparisNo>
          </ItemRelationModel>
        </ItemRelation>
      </input>
    </OrderSent>
  </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>
    <OrderSentResponse xmlns="http://tempuri.org/">
      <OrderSentResult>
        <MsgType>string</MsgType>
        <MsgText>string</MsgText>
        <Result>
          <ItemNo>string</ItemNo>
        </Result>
      </OrderSentResult>
    </OrderSentResponse>
  </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 /WebService.asmx HTTP/1.1
Host: ozgu.net
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:Header>
    <AuthHeader xmlns="http://tempuri.org/">
      <Username>string</Username>
      <Password>string</Password>
    </AuthHeader>
  </soap12:Header>
  <soap12:Body>
    <OrderSent xmlns="http://tempuri.org/">
      <input>
        <OrderNumber>string</OrderNumber>
        <CustomerNumber>string</CustomerNumber>
        <CustomerName>string</CustomerName>
        <Store>string</Store>
        <CustomerPhone>string</CustomerPhone>
        <CustomerType>string</CustomerType>
        <Business>string</Business>
        <RefOrdernumber>string</RefOrdernumber>
        <OrderNote>string</OrderNote>
        <OrderTimeStamp>string</OrderTimeStamp>
        <Item>
          <OrderUpdateItemRelations>
            <ITEM_NUMBER>int</ITEM_NUMBER>
            <MATERIALGROUP>string</MATERIALGROUP>
            <MATERIALGROUp_T>string</MATERIALGROUp_T>
            <SECTION>string</SECTION>
            <SECTION_T>string</SECTION_T>
            <MATERIAL>string</MATERIAL>
            <METARIAL_T>string</METARIAL_T>
            <Installation>string</Installation>
            <Transport>string</Transport>
            <PortTransport>string</PortTransport>
            <Protage>string</Protage>
            <Desi>decimal</Desi>
            <OrderQuantity>decimal</OrderQuantity>
            <Unit>string</Unit>
            <GrossWeight>decimal</GrossWeight>
            <WeightUnit>string</WeightUnit>
            <InstallationValue>decimal</InstallationValue>
            <InstallationUnit>string</InstallationUnit>
            <ItemType>string</ItemType>
            <TransportDate>string</TransportDate>
            <InstallationDate>string</InstallationDate>
            <PortarageType>string</PortarageType>
            <InstallationType>string</InstallationType>
            <InstallationSubType>string</InstallationSubType>
            <Installationteam>string</Installationteam>
            <Adress>string</Adress>
            <GeoCodeX>string</GeoCodeX>
            <GeoCodeY>string</GeoCodeY>
            <TotalDistance>string</TotalDistance>
            <ExtraDistance>string</ExtraDistance>
            <AdressNo>string</AdressNo>
            <RejectionStatus>string</RejectionStatus>
            <HigherItemNo>string</HigherItemNo>
            <HedefId>int</HedefId>
            <OzguNakliyeHakedis>int</OzguNakliyeHakedis>
            <OzguMontajHakedis>int</OzguMontajHakedis>
          </OrderUpdateItemRelations>
          <OrderUpdateItemRelations>
            <ITEM_NUMBER>int</ITEM_NUMBER>
            <MATERIALGROUP>string</MATERIALGROUP>
            <MATERIALGROUp_T>string</MATERIALGROUp_T>
            <SECTION>string</SECTION>
            <SECTION_T>string</SECTION_T>
            <MATERIAL>string</MATERIAL>
            <METARIAL_T>string</METARIAL_T>
            <Installation>string</Installation>
            <Transport>string</Transport>
            <PortTransport>string</PortTransport>
            <Protage>string</Protage>
            <Desi>decimal</Desi>
            <OrderQuantity>decimal</OrderQuantity>
            <Unit>string</Unit>
            <GrossWeight>decimal</GrossWeight>
            <WeightUnit>string</WeightUnit>
            <InstallationValue>decimal</InstallationValue>
            <InstallationUnit>string</InstallationUnit>
            <ItemType>string</ItemType>
            <TransportDate>string</TransportDate>
            <InstallationDate>string</InstallationDate>
            <PortarageType>string</PortarageType>
            <InstallationType>string</InstallationType>
            <InstallationSubType>string</InstallationSubType>
            <Installationteam>string</Installationteam>
            <Adress>string</Adress>
            <GeoCodeX>string</GeoCodeX>
            <GeoCodeY>string</GeoCodeY>
            <TotalDistance>string</TotalDistance>
            <ExtraDistance>string</ExtraDistance>
            <AdressNo>string</AdressNo>
            <RejectionStatus>string</RejectionStatus>
            <HigherItemNo>string</HigherItemNo>
            <HedefId>int</HedefId>
            <OzguNakliyeHakedis>int</OzguNakliyeHakedis>
            <OzguMontajHakedis>int</OzguMontajHakedis>
          </OrderUpdateItemRelations>
        </Item>
        <ItemRelation>
          <ItemRelationModel>
            <StokSiparisNo>string</StokSiparisNo>
            <HizmetSiparisNo>string</HizmetSiparisNo>
          </ItemRelationModel>
          <ItemRelationModel>
            <StokSiparisNo>string</StokSiparisNo>
            <HizmetSiparisNo>string</HizmetSiparisNo>
          </ItemRelationModel>
        </ItemRelation>
      </input>
    </OrderSent>
  </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>
    <OrderSentResponse xmlns="http://tempuri.org/">
      <OrderSentResult>
        <MsgType>string</MsgType>
        <MsgText>string</MsgText>
        <Result>
          <ItemNo>string</ItemNo>
        </Result>
      </OrderSentResult>
    </OrderSentResponse>
  </soap12:Body>
</soap12:Envelope>