QUT OF Receiving Service
Purpose
The service should receive updates from QUT OF Service and trigger updates in the Sisot module.
Service Configuration
Â
Methods
Method "AcceptGoodsReceived" and "GoodsReceived"
Used to initiate Chemwatch part of the items workflow as defined by Integration design  between Chemwatch and QUT Oracle Finances. QUT OF Service calls this method on receiving items in OF.
OF should send this PER LINE ITEM. (Â Sergei Lysukho (Deactivated), it may change. I am clarifying this with QUT developers)
SOAP - AcceptGoodsReceived
XML/JSON | GETÂ http://dev.chemwatch.net/api/chemwatchservice.svc |
Request Parameters:
Query parameter | Data Type | Required | Description |
---|---|---|---|
EbsRequisitionId | number | yes | Requisition ID. |
EbsRequisitionLineNo | number | yes | Line item order number. |
OrderId | number | yes | Order ID. |
Preparer | string | yes | User name. |
Quantity | number | yes | Number of items received. |
ReceivedDate | date in ISO format | yes | - |
RequestLineNo | string, GUID | yes | Backwards reference to CW item submitted to OF earlier. Must be an existing ID. Should not be changed by OF. |
XML Request Sample
POST http://dev.chemwatch.net/API/ChemwatchService.svc/soap HTTP/1.1 Content-Type: text/xml; charset=utf-8 Cookie: Login=... SOAPAction: "http://chemwatch.net/api/IChemwatchService/AcceptGoodsReceived" Host: dev.chemwatch.net Content-Length: 585 Expect: 100-continue Accept-Encoding: gzip, deflate <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <AcceptGoodsReceived xmlns="http://chemwatch.net/api/"> <notice xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <EbsRequisitionId xmlns="">2</EbsRequisitionId> <EbsRequisitionLineNo xmlns="">3</EbsRequisitionLineNo> <OrderId xmlns="">100</OrderId> <Preparer xmlns="">vlad</Preparer> <Quantity xmlns="">4</Quantity> <ReceivedDate xmlns="">2016-06-23T10:50:08.5136703+10:00</ReceivedDate> <RequestLineNo xmlns="">dafcbbb2-81e4-4883-8b73-5efcb3acd240</RequestLineNo> </notice> </AcceptGoodsReceived> </s:Body> </s:Envelope>
XML Successful Response SampleÂ
 HTTP/1.1 200 OK Content-Length: 65 Set-Cookie: Login=... Content-Type: application/xml; charset=utf-8 <AuthResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Code>200</Code> <Status>Success</Status> </AuthResponse>
XML Error Response SampleÂ
 HTTP/1.1 200 OK Content-Length: 65 Set-Cookie: Login=... Content-Type: application/xml; charset=utf-8 <AuthResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Code>200</Code> <Status>Error</Status> </AuthResponse>
Â
REST - GoodsReceived (DEPRECATED)
XML | GETÂ http://dev.chemwatch.net/api/v1/GoodsReceived |
JSON | GETÂ http://dev.chemwatch.net/api/v1/json/GoodsReceived |
Request Sample
GET  http://dev.chemwatch.net/api/v1/GoodsReceived  |