Integration
Click here for a complete list of operations.
UpdateWaybillight
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 /rest/Integration.asmx HTTP/1.1 Host: services.fnf.co.za Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/UpdateWaybillight" <?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> <UpdateWaybillight xmlns="http://tempuri.org/"> <model> <WaybillId>int</WaybillId> <WaybillNumber>string</WaybillNumber> <WaybillDate>dateTime</WaybillDate> <CustomerReferenceNo>string</CustomerReferenceNo> <CustomerName>string</CustomerName> <CustomerCode>string</CustomerCode> <CollectingBranchName>string</CollectingBranchName> <CollectingBranchCode>string</CollectingBranchCode> <RecipientName>string</RecipientName> <RecipientPhoneNumber>string</RecipientPhoneNumber> <RecipientCellphoneNumber>string</RecipientCellphoneNumber> <RecipientCompany>string</RecipientCompany> <SenderName>string</SenderName> <SenderPhoneNumber>string</SenderPhoneNumber> <SenderCellphoneNumber>string</SenderCellphoneNumber> <SenderCompany>string</SenderCompany> <ToAddress1>string</ToAddress1> <ToAddress2>string</ToAddress2> <ToCity>string</ToCity> <ToSuburb>string</ToSuburb> <ToProvince>string</ToProvince> <ToCountry>string</ToCountry> <ToPostalCode>string</ToPostalCode> <FromAddress1>string</FromAddress1> <FromAddress2>string</FromAddress2> <FromCity>string</FromCity> <FromSuburb>string</FromSuburb> <FromProvince>string</FromProvince> <FromCountry>string</FromCountry> <FromPostalCode>string</FromPostalCode> <Notes>string</Notes> <DescriptionOfContents>string</DescriptionOfContents> <ServiceCode>string</ServiceCode> <DateAdded>dateTime</DateAdded> <DateModified>dateTime</DateModified> <DangerousGoods>int</DangerousGoods> <NumberOfParcels>int</NumberOfParcels> <IsExported>int</IsExported> <IsProcessed>int</IsProcessed> <Error>string</Error> </model> </UpdateWaybillight> </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> <UpdateWaybillightResponse xmlns="http://tempuri.org/"> <UpdateWaybillightResult> <WaybillModel> <WaybillId>int</WaybillId> <WaybillNumber>string</WaybillNumber> <WaybillDate>dateTime</WaybillDate> <CustomerReferenceNo>string</CustomerReferenceNo> <CustomerName>string</CustomerName> <CustomerCode>string</CustomerCode> <CollectingBranchName>string</CollectingBranchName> <CollectingBranchCode>string</CollectingBranchCode> <RecipientName>string</RecipientName> <RecipientPhoneNumber>string</RecipientPhoneNumber> <RecipientCellphoneNumber>string</RecipientCellphoneNumber> <RecipientCompany>string</RecipientCompany> <SenderName>string</SenderName> <SenderPhoneNumber>string</SenderPhoneNumber> <SenderCellphoneNumber>string</SenderCellphoneNumber> <SenderCompany>string</SenderCompany> <ToAddress1>string</ToAddress1> <ToAddress2>string</ToAddress2> <ToCity>string</ToCity> <ToSuburb>string</ToSuburb> <ToProvince>string</ToProvince> <ToCountry>string</ToCountry> <ToPostalCode>string</ToPostalCode> <FromAddress1>string</FromAddress1> <FromAddress2>string</FromAddress2> <FromCity>string</FromCity> <FromSuburb>string</FromSuburb> <FromProvince>string</FromProvince> <FromCountry>string</FromCountry> <FromPostalCode>string</FromPostalCode> <Notes>string</Notes> <DescriptionOfContents>string</DescriptionOfContents> <ServiceCode>string</ServiceCode> <DateAdded>dateTime</DateAdded> <DateModified>dateTime</DateModified> <DangerousGoods>int</DangerousGoods> <NumberOfParcels>int</NumberOfParcels> <IsExported>int</IsExported> <IsProcessed>int</IsProcessed> <Error>string</Error> </WaybillModel> <WaybillModel> <WaybillId>int</WaybillId> <WaybillNumber>string</WaybillNumber> <WaybillDate>dateTime</WaybillDate> <CustomerReferenceNo>string</CustomerReferenceNo> <CustomerName>string</CustomerName> <CustomerCode>string</CustomerCode> <CollectingBranchName>string</CollectingBranchName> <CollectingBranchCode>string</CollectingBranchCode> <RecipientName>string</RecipientName> <RecipientPhoneNumber>string</RecipientPhoneNumber> <RecipientCellphoneNumber>string</RecipientCellphoneNumber> <RecipientCompany>string</RecipientCompany> <SenderName>string</SenderName> <SenderPhoneNumber>string</SenderPhoneNumber> <SenderCellphoneNumber>string</SenderCellphoneNumber> <SenderCompany>string</SenderCompany> <ToAddress1>string</ToAddress1> <ToAddress2>string</ToAddress2> <ToCity>string</ToCity> <ToSuburb>string</ToSuburb> <ToProvince>string</ToProvince> <ToCountry>string</ToCountry> <ToPostalCode>string</ToPostalCode> <FromAddress1>string</FromAddress1> <FromAddress2>string</FromAddress2> <FromCity>string</FromCity> <FromSuburb>string</FromSuburb> <FromProvince>string</FromProvince> <FromCountry>string</FromCountry> <FromPostalCode>string</FromPostalCode> <Notes>string</Notes> <DescriptionOfContents>string</DescriptionOfContents> <ServiceCode>string</ServiceCode> <DateAdded>dateTime</DateAdded> <DateModified>dateTime</DateModified> <DangerousGoods>int</DangerousGoods> <NumberOfParcels>int</NumberOfParcels> <IsExported>int</IsExported> <IsProcessed>int</IsProcessed> <Error>string</Error> </WaybillModel> </UpdateWaybillightResult> </UpdateWaybillightResponse> </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 /rest/Integration.asmx HTTP/1.1 Host: services.fnf.co.za 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> <UpdateWaybillight xmlns="http://tempuri.org/"> <model> <WaybillId>int</WaybillId> <WaybillNumber>string</WaybillNumber> <WaybillDate>dateTime</WaybillDate> <CustomerReferenceNo>string</CustomerReferenceNo> <CustomerName>string</CustomerName> <CustomerCode>string</CustomerCode> <CollectingBranchName>string</CollectingBranchName> <CollectingBranchCode>string</CollectingBranchCode> <RecipientName>string</RecipientName> <RecipientPhoneNumber>string</RecipientPhoneNumber> <RecipientCellphoneNumber>string</RecipientCellphoneNumber> <RecipientCompany>string</RecipientCompany> <SenderName>string</SenderName> <SenderPhoneNumber>string</SenderPhoneNumber> <SenderCellphoneNumber>string</SenderCellphoneNumber> <SenderCompany>string</SenderCompany> <ToAddress1>string</ToAddress1> <ToAddress2>string</ToAddress2> <ToCity>string</ToCity> <ToSuburb>string</ToSuburb> <ToProvince>string</ToProvince> <ToCountry>string</ToCountry> <ToPostalCode>string</ToPostalCode> <FromAddress1>string</FromAddress1> <FromAddress2>string</FromAddress2> <FromCity>string</FromCity> <FromSuburb>string</FromSuburb> <FromProvince>string</FromProvince> <FromCountry>string</FromCountry> <FromPostalCode>string</FromPostalCode> <Notes>string</Notes> <DescriptionOfContents>string</DescriptionOfContents> <ServiceCode>string</ServiceCode> <DateAdded>dateTime</DateAdded> <DateModified>dateTime</DateModified> <DangerousGoods>int</DangerousGoods> <NumberOfParcels>int</NumberOfParcels> <IsExported>int</IsExported> <IsProcessed>int</IsProcessed> <Error>string</Error> </model> </UpdateWaybillight> </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> <UpdateWaybillightResponse xmlns="http://tempuri.org/"> <UpdateWaybillightResult> <WaybillModel> <WaybillId>int</WaybillId> <WaybillNumber>string</WaybillNumber> <WaybillDate>dateTime</WaybillDate> <CustomerReferenceNo>string</CustomerReferenceNo> <CustomerName>string</CustomerName> <CustomerCode>string</CustomerCode> <CollectingBranchName>string</CollectingBranchName> <CollectingBranchCode>string</CollectingBranchCode> <RecipientName>string</RecipientName> <RecipientPhoneNumber>string</RecipientPhoneNumber> <RecipientCellphoneNumber>string</RecipientCellphoneNumber> <RecipientCompany>string</RecipientCompany> <SenderName>string</SenderName> <SenderPhoneNumber>string</SenderPhoneNumber> <SenderCellphoneNumber>string</SenderCellphoneNumber> <SenderCompany>string</SenderCompany> <ToAddress1>string</ToAddress1> <ToAddress2>string</ToAddress2> <ToCity>string</ToCity> <ToSuburb>string</ToSuburb> <ToProvince>string</ToProvince> <ToCountry>string</ToCountry> <ToPostalCode>string</ToPostalCode> <FromAddress1>string</FromAddress1> <FromAddress2>string</FromAddress2> <FromCity>string</FromCity> <FromSuburb>string</FromSuburb> <FromProvince>string</FromProvince> <FromCountry>string</FromCountry> <FromPostalCode>string</FromPostalCode> <Notes>string</Notes> <DescriptionOfContents>string</DescriptionOfContents> <ServiceCode>string</ServiceCode> <DateAdded>dateTime</DateAdded> <DateModified>dateTime</DateModified> <DangerousGoods>int</DangerousGoods> <NumberOfParcels>int</NumberOfParcels> <IsExported>int</IsExported> <IsProcessed>int</IsProcessed> <Error>string</Error> </WaybillModel> <WaybillModel> <WaybillId>int</WaybillId> <WaybillNumber>string</WaybillNumber> <WaybillDate>dateTime</WaybillDate> <CustomerReferenceNo>string</CustomerReferenceNo> <CustomerName>string</CustomerName> <CustomerCode>string</CustomerCode> <CollectingBranchName>string</CollectingBranchName> <CollectingBranchCode>string</CollectingBranchCode> <RecipientName>string</RecipientName> <RecipientPhoneNumber>string</RecipientPhoneNumber> <RecipientCellphoneNumber>string</RecipientCellphoneNumber> <RecipientCompany>string</RecipientCompany> <SenderName>string</SenderName> <SenderPhoneNumber>string</SenderPhoneNumber> <SenderCellphoneNumber>string</SenderCellphoneNumber> <SenderCompany>string</SenderCompany> <ToAddress1>string</ToAddress1> <ToAddress2>string</ToAddress2> <ToCity>string</ToCity> <ToSuburb>string</ToSuburb> <ToProvince>string</ToProvince> <ToCountry>string</ToCountry> <ToPostalCode>string</ToPostalCode> <FromAddress1>string</FromAddress1> <FromAddress2>string</FromAddress2> <FromCity>string</FromCity> <FromSuburb>string</FromSuburb> <FromProvince>string</FromProvince> <FromCountry>string</FromCountry> <FromPostalCode>string</FromPostalCode> <Notes>string</Notes> <DescriptionOfContents>string</DescriptionOfContents> <ServiceCode>string</ServiceCode> <DateAdded>dateTime</DateAdded> <DateModified>dateTime</DateModified> <DangerousGoods>int</DangerousGoods> <NumberOfParcels>int</NumberOfParcels> <IsExported>int</IsExported> <IsProcessed>int</IsProcessed> <Error>string</Error> </WaybillModel> </UpdateWaybillightResult> </UpdateWaybillightResponse> </soap12:Body> </soap12:Envelope>