BusinessService


Click here for a complete list of operations.

SaveItem

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

<?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>
    <SaveItem xmlns="http://tempuri.org/">
      <item>
        <LineItemID>int</LineItemID>
        <ContractID>guid</ContractID>
        <ContractTypeID>int</ContractTypeID>
        <SupplierDiscountPercent>decimal</SupplierDiscountPercent>
        <ParentID>guid</ParentID>
        <TypeID>int</TypeID>
        <DepartmentID>guid</DepartmentID>
        <DepartmentName>string</DepartmentName>
        <BrandID>guid</BrandID>
        <Brand>string</Brand>
        <UnitOfMeasureID>int</UnitOfMeasureID>
        <NameInPOS>string</NameInPOS>
        <ContractNumber>string</ContractNumber>
        <PackNumber>string</PackNumber>
        <StockSection>string</StockSection>
        <StockQuantity>decimal</StockQuantity>
        <Cost>decimal</Cost>
        <PriceWithTax>decimal</PriceWithTax>
        <ConsumerPrice>decimal</ConsumerPrice>
        <ManufacturerPrice>decimal</ManufacturerPrice>
        <DeactivePrice>decimal</DeactivePrice>
        <DeactiveConsumerPrice>decimal</DeactiveConsumerPrice>
        <ContractConsumerPrice>decimal</ContractConsumerPrice>
        <BulkPrice>decimal</BulkPrice>
        <TemporaryPrice>decimal</TemporaryPrice>
        <OrderCount>decimal</OrderCount>
        <ScannedCount>decimal</ScannedCount>
        <PackCount>decimal</PackCount>
        <PackUnitCount>decimal</PackUnitCount>
        <Quantity>decimal</Quantity>
        <BonusCount>decimal</BonusCount>
        <DamagedCount>decimal</DamagedCount>
        <Discount>decimal</Discount>
        <ContractType>string</ContractType>
        <SupplierDiscount>decimal</SupplierDiscount>
        <Discount1>decimal</Discount1>
        <Discount2>decimal</Discount2>
        <Discount3>decimal</Discount3>
        <Discount4>decimal</Discount4>
        <Discount5>decimal</Discount5>
        <PositiveCost>decimal</PositiveCost>
        <NegativeCost>decimal</NegativeCost>
        <IsQuick>boolean</IsQuick>
        <Tax>decimal</Tax>
        <Toll>decimal</Toll>
        <NetCost>decimal</NetCost>
        <IsNotFound>boolean</IsNotFound>
        <IsNotInOrder>boolean</IsNotInOrder>
        <AllowToRecieve>boolean</AllowToRecieve>
        <RecieveMoreThanOrder>boolean</RecieveMoreThanOrder>
        <Status>boolean</Status>
        <MaximumOrderOverage>decimal</MaximumOrderOverage>
        <Description>string</Description>
        <ImageUrl>string</ImageUrl>
        <CustomFields>
          <FieldObject>
            <ID>int</ID>
            <Caption>string</Caption>
            <Name>string</Name>
            <CSharpType>string</CSharpType>
            <SQLType>BigInt or Binary or Bit or Char or DateTime or Decimal or Float or Image or Int or Money or NChar or NText or NVarChar or Real or UniqueIdentifier or SmallDateTime or SmallInt or SmallMoney or Text or Timestamp or TinyInt or VarBinary or VarChar or Variant or Xml or Udt or Structured or Date or Time or DateTime2 or DateTimeOffset</SQLType>
            <Value />
            <IsNullable>boolean</IsNullable>
            <IsPK>boolean</IsPK>
            <IsIdentity>boolean</IsIdentity>
            <Direction>string</Direction>
            <MaxLenght>int</MaxLenght>
          </FieldObject>
          <FieldObject>
            <ID>int</ID>
            <Caption>string</Caption>
            <Name>string</Name>
            <CSharpType>string</CSharpType>
            <SQLType>BigInt or Binary or Bit or Char or DateTime or Decimal or Float or Image or Int or Money or NChar or NText or NVarChar or Real or UniqueIdentifier or SmallDateTime or SmallInt or SmallMoney or Text or Timestamp or TinyInt or VarBinary or VarChar or Variant or Xml or Udt or Structured or Date or Time or DateTime2 or DateTimeOffset</SQLType>
            <Value />
            <IsNullable>boolean</IsNullable>
            <IsPK>boolean</IsPK>
            <IsIdentity>boolean</IsIdentity>
            <Direction>string</Direction>
            <MaxLenght>int</MaxLenght>
          </FieldObject>
        </CustomFields>
        <Attributes>
          <AttributeInfo>
            <ItemID>string</ItemID>
            <Attribute>string</Attribute>
            <Value>string</Value>
            <Code>string</Code>
          </AttributeInfo>
          <AttributeInfo>
            <ItemID>string</ItemID>
            <Attribute>string</Attribute>
            <Value>string</Value>
            <Code>string</Code>
          </AttributeInfo>
        </Attributes>
        <Collection>
          <ItemCollection>
            <ItemID>guid</ItemID>
            <ChildItemID>guid</ChildItemID>
            <Name>string</Name>
            <Barcode>string</Barcode>
            <Quantity>decimal</Quantity>
            <DefaultValue>decimal</DefaultValue>
          </ItemCollection>
          <ItemCollection>
            <ItemID>guid</ItemID>
            <ChildItemID>guid</ChildItemID>
            <Name>string</Name>
            <Barcode>string</Barcode>
            <Quantity>decimal</Quantity>
            <DefaultValue>decimal</DefaultValue>
          </ItemCollection>
        </Collection>
      </item>
    </SaveItem>
  </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>
    <SaveItemResponse xmlns="http://tempuri.org/">
      <SaveItemResult>
        <Status>Start or Pending or Error or Successfull or Fail or Marquee</Status>
        <Message>string</Message>
      </SaveItemResult>
    </SaveItemResponse>
  </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 /BusinessService.asmx HTTP/1.1
Host: 185.83.197.162
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>
    <SaveItem xmlns="http://tempuri.org/">
      <item>
        <LineItemID>int</LineItemID>
        <ContractID>guid</ContractID>
        <ContractTypeID>int</ContractTypeID>
        <SupplierDiscountPercent>decimal</SupplierDiscountPercent>
        <ParentID>guid</ParentID>
        <TypeID>int</TypeID>
        <DepartmentID>guid</DepartmentID>
        <DepartmentName>string</DepartmentName>
        <BrandID>guid</BrandID>
        <Brand>string</Brand>
        <UnitOfMeasureID>int</UnitOfMeasureID>
        <NameInPOS>string</NameInPOS>
        <ContractNumber>string</ContractNumber>
        <PackNumber>string</PackNumber>
        <StockSection>string</StockSection>
        <StockQuantity>decimal</StockQuantity>
        <Cost>decimal</Cost>
        <PriceWithTax>decimal</PriceWithTax>
        <ConsumerPrice>decimal</ConsumerPrice>
        <ManufacturerPrice>decimal</ManufacturerPrice>
        <DeactivePrice>decimal</DeactivePrice>
        <DeactiveConsumerPrice>decimal</DeactiveConsumerPrice>
        <ContractConsumerPrice>decimal</ContractConsumerPrice>
        <BulkPrice>decimal</BulkPrice>
        <TemporaryPrice>decimal</TemporaryPrice>
        <OrderCount>decimal</OrderCount>
        <ScannedCount>decimal</ScannedCount>
        <PackCount>decimal</PackCount>
        <PackUnitCount>decimal</PackUnitCount>
        <Quantity>decimal</Quantity>
        <BonusCount>decimal</BonusCount>
        <DamagedCount>decimal</DamagedCount>
        <Discount>decimal</Discount>
        <ContractType>string</ContractType>
        <SupplierDiscount>decimal</SupplierDiscount>
        <Discount1>decimal</Discount1>
        <Discount2>decimal</Discount2>
        <Discount3>decimal</Discount3>
        <Discount4>decimal</Discount4>
        <Discount5>decimal</Discount5>
        <PositiveCost>decimal</PositiveCost>
        <NegativeCost>decimal</NegativeCost>
        <IsQuick>boolean</IsQuick>
        <Tax>decimal</Tax>
        <Toll>decimal</Toll>
        <NetCost>decimal</NetCost>
        <IsNotFound>boolean</IsNotFound>
        <IsNotInOrder>boolean</IsNotInOrder>
        <AllowToRecieve>boolean</AllowToRecieve>
        <RecieveMoreThanOrder>boolean</RecieveMoreThanOrder>
        <Status>boolean</Status>
        <MaximumOrderOverage>decimal</MaximumOrderOverage>
        <Description>string</Description>
        <ImageUrl>string</ImageUrl>
        <CustomFields>
          <FieldObject>
            <ID>int</ID>
            <Caption>string</Caption>
            <Name>string</Name>
            <CSharpType>string</CSharpType>
            <SQLType>BigInt or Binary or Bit or Char or DateTime or Decimal or Float or Image or Int or Money or NChar or NText or NVarChar or Real or UniqueIdentifier or SmallDateTime or SmallInt or SmallMoney or Text or Timestamp or TinyInt or VarBinary or VarChar or Variant or Xml or Udt or Structured or Date or Time or DateTime2 or DateTimeOffset</SQLType>
            <Value />
            <IsNullable>boolean</IsNullable>
            <IsPK>boolean</IsPK>
            <IsIdentity>boolean</IsIdentity>
            <Direction>string</Direction>
            <MaxLenght>int</MaxLenght>
          </FieldObject>
          <FieldObject>
            <ID>int</ID>
            <Caption>string</Caption>
            <Name>string</Name>
            <CSharpType>string</CSharpType>
            <SQLType>BigInt or Binary or Bit or Char or DateTime or Decimal or Float or Image or Int or Money or NChar or NText or NVarChar or Real or UniqueIdentifier or SmallDateTime or SmallInt or SmallMoney or Text or Timestamp or TinyInt or VarBinary or VarChar or Variant or Xml or Udt or Structured or Date or Time or DateTime2 or DateTimeOffset</SQLType>
            <Value />
            <IsNullable>boolean</IsNullable>
            <IsPK>boolean</IsPK>
            <IsIdentity>boolean</IsIdentity>
            <Direction>string</Direction>
            <MaxLenght>int</MaxLenght>
          </FieldObject>
        </CustomFields>
        <Attributes>
          <AttributeInfo>
            <ItemID>string</ItemID>
            <Attribute>string</Attribute>
            <Value>string</Value>
            <Code>string</Code>
          </AttributeInfo>
          <AttributeInfo>
            <ItemID>string</ItemID>
            <Attribute>string</Attribute>
            <Value>string</Value>
            <Code>string</Code>
          </AttributeInfo>
        </Attributes>
        <Collection>
          <ItemCollection>
            <ItemID>guid</ItemID>
            <ChildItemID>guid</ChildItemID>
            <Name>string</Name>
            <Barcode>string</Barcode>
            <Quantity>decimal</Quantity>
            <DefaultValue>decimal</DefaultValue>
          </ItemCollection>
          <ItemCollection>
            <ItemID>guid</ItemID>
            <ChildItemID>guid</ChildItemID>
            <Name>string</Name>
            <Barcode>string</Barcode>
            <Quantity>decimal</Quantity>
            <DefaultValue>decimal</DefaultValue>
          </ItemCollection>
        </Collection>
      </item>
    </SaveItem>
  </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>
    <SaveItemResponse xmlns="http://tempuri.org/">
      <SaveItemResult>
        <Status>Start or Pending or Error or Successfull or Fail or Marquee</Status>
        <Message>string</Message>
      </SaveItemResult>
    </SaveItemResponse>
  </soap12:Body>
</soap12:Envelope>