MovementOfGoodsWS
Click here for a complete list of operations.
SendClientDocument
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 /UrbinforATMovementOfGoodsWS/MovementOfGoodsWS.asmx HTTP/1.1
Host: areacliente.urbinfor.pt
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/SendClientDocument"
<?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>
<SendClientDocument xmlns="http://tempuri.org/">
<pStockMovement>
<TaxRegistrationNumber xmlns="">integer</TaxRegistrationNumber>
<CompanyName xmlns="">string</CompanyName>
<CompanyAddress xmlns="">
<Addressdetail>string</Addressdetail>
<City>string</City>
<PostalCode>string</PostalCode>
<Country>string</Country>
</CompanyAddress>
<DocumentNumber xmlns="">string</DocumentNumber>
<ATCUD xmlns="">string</ATCUD>
<ATDocCodeID xmlns="">string</ATDocCodeID>
<MovementStatus xmlns="">N or T or A</MovementStatus>
<MovementDate xmlns="">date</MovementDate>
<MovementType xmlns="">GR or GT or GA or GC or GD</MovementType>
<CustomerAddress xmlns="">
<Addressdetail>string</Addressdetail>
<City>string</City>
<PostalCode>string</PostalCode>
<Country>string</Country>
</CustomerAddress>
<CustomerName xmlns="">string</CustomerName>
<AddressTo xmlns="">
<Addressdetail>string</Addressdetail>
<City>string</City>
<PostalCode>string</PostalCode>
<Country>string</Country>
</AddressTo>
<AddressFrom xmlns="">
<Addressdetail>string</Addressdetail>
<City>string</City>
<PostalCode>string</PostalCode>
<Country>string</Country>
</AddressFrom>
<MovementEndTime xmlns="">dateTime</MovementEndTime>
<MovementStartTime xmlns="">dateTime</MovementStartTime>
<VehicleID xmlns="">string</VehicleID>
<Line xmlns="">
<OrderReferences>
<OriginatingON>string</OriginatingON>
</OrderReferences>
<OrderReferences>
<OriginatingON>string</OriginatingON>
</OrderReferences>
<ProductDescription>string</ProductDescription>
<Quantity>decimal</Quantity>
<UnitOfMeasure>string</UnitOfMeasure>
<UnitPrice>decimal</UnitPrice>
</Line>
<Line xmlns="">
<OrderReferences>
<OriginatingON>string</OriginatingON>
</OrderReferences>
<OrderReferences>
<OriginatingON>string</OriginatingON>
</OrderReferences>
<ProductDescription>string</ProductDescription>
<Quantity>decimal</Quantity>
<UnitOfMeasure>string</UnitOfMeasure>
<UnitPrice>decimal</UnitPrice>
</Line>
</pStockMovement>
<pCustomerId>string</pCustomerId>
<pUsername>string</pUsername>
<pPassword>string</pPassword>
</SendClientDocument>
</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>
<SendClientDocumentResponse xmlns="http://tempuri.org/">
<SendClientDocumentResult>
<ResponseStatus xmlns="">
<ReturnCode>integer</ReturnCode>
<ReturnMessage>string</ReturnMessage>
</ResponseStatus>
<ResponseStatus xmlns="">
<ReturnCode>integer</ReturnCode>
<ReturnMessage>string</ReturnMessage>
</ResponseStatus>
<DocumentNumber xmlns="">string</DocumentNumber>
<ATCUD xmlns="">string</ATCUD>
<ATDocCodeID xmlns="">string</ATDocCodeID>
</SendClientDocumentResult>
</SendClientDocumentResponse>
</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 /UrbinforATMovementOfGoodsWS/MovementOfGoodsWS.asmx HTTP/1.1
Host: areacliente.urbinfor.pt
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>
<SendClientDocument xmlns="http://tempuri.org/">
<pStockMovement>
<TaxRegistrationNumber xmlns="">integer</TaxRegistrationNumber>
<CompanyName xmlns="">string</CompanyName>
<CompanyAddress xmlns="">
<Addressdetail>string</Addressdetail>
<City>string</City>
<PostalCode>string</PostalCode>
<Country>string</Country>
</CompanyAddress>
<DocumentNumber xmlns="">string</DocumentNumber>
<ATCUD xmlns="">string</ATCUD>
<ATDocCodeID xmlns="">string</ATDocCodeID>
<MovementStatus xmlns="">N or T or A</MovementStatus>
<MovementDate xmlns="">date</MovementDate>
<MovementType xmlns="">GR or GT or GA or GC or GD</MovementType>
<CustomerAddress xmlns="">
<Addressdetail>string</Addressdetail>
<City>string</City>
<PostalCode>string</PostalCode>
<Country>string</Country>
</CustomerAddress>
<CustomerName xmlns="">string</CustomerName>
<AddressTo xmlns="">
<Addressdetail>string</Addressdetail>
<City>string</City>
<PostalCode>string</PostalCode>
<Country>string</Country>
</AddressTo>
<AddressFrom xmlns="">
<Addressdetail>string</Addressdetail>
<City>string</City>
<PostalCode>string</PostalCode>
<Country>string</Country>
</AddressFrom>
<MovementEndTime xmlns="">dateTime</MovementEndTime>
<MovementStartTime xmlns="">dateTime</MovementStartTime>
<VehicleID xmlns="">string</VehicleID>
<Line xmlns="">
<OrderReferences>
<OriginatingON>string</OriginatingON>
</OrderReferences>
<OrderReferences>
<OriginatingON>string</OriginatingON>
</OrderReferences>
<ProductDescription>string</ProductDescription>
<Quantity>decimal</Quantity>
<UnitOfMeasure>string</UnitOfMeasure>
<UnitPrice>decimal</UnitPrice>
</Line>
<Line xmlns="">
<OrderReferences>
<OriginatingON>string</OriginatingON>
</OrderReferences>
<OrderReferences>
<OriginatingON>string</OriginatingON>
</OrderReferences>
<ProductDescription>string</ProductDescription>
<Quantity>decimal</Quantity>
<UnitOfMeasure>string</UnitOfMeasure>
<UnitPrice>decimal</UnitPrice>
</Line>
</pStockMovement>
<pCustomerId>string</pCustomerId>
<pUsername>string</pUsername>
<pPassword>string</pPassword>
</SendClientDocument>
</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>
<SendClientDocumentResponse xmlns="http://tempuri.org/">
<SendClientDocumentResult>
<ResponseStatus xmlns="">
<ReturnCode>integer</ReturnCode>
<ReturnMessage>string</ReturnMessage>
</ResponseStatus>
<ResponseStatus xmlns="">
<ReturnCode>integer</ReturnCode>
<ReturnMessage>string</ReturnMessage>
</ResponseStatus>
<DocumentNumber xmlns="">string</DocumentNumber>
<ATCUD xmlns="">string</ATCUD>
<ATDocCodeID xmlns="">string</ATDocCodeID>
</SendClientDocumentResult>
</SendClientDocumentResponse>
</soap12:Body>
</soap12:Envelope>