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. ((warning) Sergei Lysukho (Deactivated), it may change. I am clarifying this with QUT developers)

SOAP - AcceptGoodsReceived

Request Parameters:

Query parameter
Data Type
Required
Description
EbsRequisitionId
numberyesRequisition ID.
EbsRequisitionLineNo
numberyesLine item order number.
OrderId
numberyesOrder ID.
Preparer
stringyesUser name.
Quantity
numberyesNumber of items received.
ReceivedDate
date in ISO formatyes-
RequestLineNo
string, GUIDyes

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)

Request Sample

GET  http://dev.chemwatch.net/api/v1/GoodsReceived Â