Ongoing Warehouse logo
Ongoing Warehouse Developer

ProcessGoodsOperationOrder

Used to create or update a goods operation order.

Tags: ProcessGoodsOperationOrder, GoodsOperation, GoodsOperationOrderLine, ArticleItemStatus, ProcessCustomerResult

Request XML

POST /xxx/service.asmx HTTP/1.1
Host: api.ongoingsystems.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ongoingsystems.se/WSI/ProcessGoodsOperationOrder"

<?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>
      <ProcessGoodsOperationOrder xmlns="http://ongoingsystems.se/WSI">
         <GoodsOwnerCode>string</GoodsOwnerCode>
         <UserName>string</UserName>
         <Password>string</Password>
         <go>
            <GoodsOperationOrderIdentification>GoodsOperationOrderNumber</GoodsOperationOrderIdentification>
            <GoodsOperationOrderNumber>string</GoodsOperationOrderNumber>
            <GoodsOperationOrderComment>string</GoodsOperationOrderComment>
            <GoodsOperationOrderReferenceNumber>string</GoodsOperationOrderReferenceNumber>
            <GoodsOperationOrderLines>
               <GoodsOperationOrderLine>
                  <GoodsOperationOrderLineIdentification>GoodsOperationOrderLineNumber</GoodsOperationOrderLineIdentification>
                  <GoodsOperationOrderLineOperation>CreateOrUpdate</GoodsOperationOrderLineOperation>
                  <GoodsOperationOrderLineArticleIdentification>ArticleNumber</GoodsOperationOrderLineArticleIdentification>
                  <GoodsOperationOrderLineArticleOperation>Find or CreateOrUpdate</GoodsOperationOrderLineArticleOperation>
                  <ArticleNumber>string</ArticleNumber>
                  <NumberOfItems>decimal</NumberOfItems>
                  <GoodsOperationOrderLineNumber>string</GoodsOperationOrderLineNumber>
                  <GoodsOperationOrderLineComment>string</GoodsOperationOrderLineComment>
                  <GoodsOperationOrderLineBatchNumber>string</GoodsOperationOrderLineBatchNumber>
                  <FromArticleItemStatus>
                     <Identification>ArticleItemStatusCode</Identification>
                     <Operation>Find or CreateOrUpdate</Operation>
                     <ArticleItemStatusCode>string</ArticleItemStatusCode>
                  </FromArticleItemStatus>
                  <ToArticleItemStatus>
                     <Identification>ArticleItemStatusCode</Identification>
                     <Operation>Find or CreateOrUpdate</Operation>
                     <ArticleItemStatusCode>string</ArticleItemStatusCode>
                  </ToArticleItemStatus>
               </GoodsOperationOrderLine>
               <GoodsOperationOrderLine>
                  <GoodsOperationOrderLineIdentification>GoodsOperationOrderLineNumber</GoodsOperationOrderLineIdentification>
                  <GoodsOperationOrderLineOperation>CreateOrUpdate</GoodsOperationOrderLineOperation>
                  <GoodsOperationOrderLineArticleIdentification>ArticleNumber</GoodsOperationOrderLineArticleIdentification>
                  <GoodsOperationOrderLineArticleOperation>Find or CreateOrUpdate</GoodsOperationOrderLineArticleOperation>
                  <ArticleNumber>string</ArticleNumber>
                  <NumberOfItems>decimal</NumberOfItems>
                  <GoodsOperationOrderLineNumber>string</GoodsOperationOrderLineNumber>
                  <GoodsOperationOrderLineComment>string</GoodsOperationOrderLineComment>
                  <GoodsOperationOrderLineBatchNumber>string</GoodsOperationOrderLineBatchNumber>
                  <FromArticleItemStatus>
                     <Identification>ArticleItemStatusCode</Identification>
                     <Operation>Find or CreateOrUpdate</Operation>
                     <ArticleItemStatusCode>string</ArticleItemStatusCode>
                  </FromArticleItemStatus>
                  <ToArticleItemStatus>
                     <Identification>ArticleItemStatusCode</Identification>
                     <Operation>Find or CreateOrUpdate</Operation>
                     <ArticleItemStatusCode>string</ArticleItemStatusCode>
                  </ToArticleItemStatus>
               </GoodsOperationOrderLine>
            </GoodsOperationOrderLines>
         </go>
      </ProcessGoodsOperationOrder>
   </soap:Body>
</soap:Envelope>
+

Request specification

ProcessGoodsOperationOrder
GoodsOwnerCode str(400) Req. The name/code of your client
UserName str(50) Req. Your username
Password str(50) Req. Your password
go object Req. The GoodsOperation object
GoodsOperation
GoodsOperationOrderIdentification enum Req. Defines the operation:
 - GoodsOperationOrderNumber
GoodsOperationOrderNumber string Req. A unique ordernumber for the operation, Used to identifie orders to update or create order.
GoodsOperationOrderComment str(500) Used to add comment to the warehouse
GoodsOperationOrderReferenceNumber str(50) Reference number
GoodsOperationOrderLines object) Req. Containing elements of GoodsOperationOrderLine. Defines articles information and goodsstatus change to and from
GoodsOperationOrderLine
GoodsOperationOrderLineIdentification enum Req. Defines what you want to identify the Goodsoperationline by
 - GoodsOperationOrderLineNumber
GoodsOperationOrderLineOperation enum Req. Defines the operation:
 - CreateOrUpdate
GoodsOperationOrderLineArticleIdentification enum Req. Defines the identification:
 - ArticleNumber
GoodsOperationOrderLineArticleOperation enum Req. Defines the identification:
 - Find
 - CreateOrUpdate
ArticleNumber Req Article number, Used to identify the article
NumberOfItems dec Req. The number of items to change
GoodsOperationOrderLineNumber str(100) Req. Line number
GoodsOperationOrderLineComment str(500) Comment
GoodsOperationOrderLineBatchNumber str(50) Batch number
FromArticleItemStatus Object An ArticleItemStatus object
ToArticleItemStatus Object An ArticleItemStatus object
ArticleItemStatus
Identification enum Req. Defines the operation
 - ArticleItemStatusCode
Operation enum Req. Defines what you want to identify the customer group by
 - Find
 - CreateOrUpdate
ArticleItemStatusCode str(50) Req. GoodsStatus code

Response XML

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>
      <ProcessGoodsOperationOrderResponse xmlns="http://ongoingsystems.se/WSI">
         <ProcessGoodsOperationOrderResult>
            <GoodsOperationOrderId>int</GoodsOperationOrderId>
            <Success>boolean</Success>
            <ProcessGoodsOperationOrderErrors>
               <ProcessGoodsOperationOrderError>
                  <Message>string</Message>
                  <ErrorType>LogonError or GoodsOperationOrderNumberNotSupplied or ArticleNumberNotFound or LineNumberMayNotBeEmptyOrWhitespace or NotAllowedToUpdateOrderBecauseOfOrderStatus or NotAllowedToUpdateOrderBecauseOfArticleItems or UnableToFindOldArticleItemStatus or UnableToFindNewArticleItemStatus or ErrorUpdatingOrderLine or UnknownError</ErrorType>
               </ProcessGoodsOperationOrderError>
               <ProcessGoodsOperationOrderError>
                  <Message>string</Message>
                  <ErrorType>LogonError or GoodsOperationOrderNumberNotSupplied or ArticleNumberNotFound or LineNumberMayNotBeEmptyOrWhitespace or NotAllowedToUpdateOrderBecauseOfOrderStatus or NotAllowedToUpdateOrderBecauseOfArticleItems or UnableToFindOldArticleItemStatus or UnableToFindNewArticleItemStatus or ErrorUpdatingOrderLine or UnknownError</ErrorType>
               </ProcessGoodsOperationOrderError>
            </ProcessGoodsOperationOrderErrors>
         </ProcessGoodsOperationOrderResult>
      </ProcessGoodsOperationOrderResponse>
   </soap:Body>
</soap:Envelope>
+

Response specification

ProcessCustomerResult
ErrorType enum Error type code
GoodsOwnerOrderId int Not used
OrderId int Not used
InOrderId int Not used
ArticleDefId int Not used
Success bool True if success
Message str(*) Process message