Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DistributorID M
ElementTypeMandatory / OptionalLengthDirectionComments
AccountIDint
Status
colourRed
titleM
-AccountID retrieved from Session.DistributorIDintM-
Status
colourGreen
titleBOTH
AccountID retrieved from Session.
OnForwarderCloseAtintTimeO
Status
-Not required when Service is provided.
ConsignmentIDlongO-

ID of the record in the OneFlo database.

Not required on creation.

When updating an existing consignment, provide the ConsignmentID.

ConsignmentDateDateTimeM-
colourRed
titleM
-
Status
colourGreen
titleBOTH

hh:mm

Time when the facilities will close (for pickup). Will be reflected on the Pickup Request and consignment data sent to carrier.

ConsignmentDateDateTime
Status
colourRed
titleM
-
Status
colourGreen
titleBOTH
Date of the creation of the consignment.ReleasedDateTime
ConsignmentTypestring
Status
titleO
-Date of the release of the consignment, must be provided but will be updated by the system when the consignment is actually released via the Release*Consignment API.ConsignmentNotestringO20
ServicestringM10Service for use. Must be a service defined in OneFlo as retrieved from the ShipperService Element of the ServicePricing.
SenderAddressM1Details of the sender of the freight.
PickupInstructionsstringO80Pickup Instructions. Will appear on Pickup request data when carrier is configured.
ReceiverAddressM1Details of the receiver of the freight.
DeliveryInstructionsstringO80Delivery Instructions. Will appear on labels (depending on carrier specification may be limited in terms of number of characters due to real estate).
SpecialInstructionsstringO80Additional Instructions. Will appear on labels (depending on carrier specification may be limited in terms of number of characters due to real estate).
DescriptionstringO30Description of Consignment. Won't appear on labels.
ExtConsignmentsExtO0...1Additional information for a consignment.
HoursfloatO-Default 0.
NoItemsshortM-Item Count Summary for the consignment.
VolumefloatM-Total Consignment Volume in cubic metres.
WeightfloatM-Total Consignment weight in kilograms.
ConsignmentItemsConsignmentItem[]M1...nDetails the items included in the consignment.
ReadyAt

Time

M-

hh:mm

Time when the consignment is ready to be picked up. Will be reflected on Pickup Request and cosignment data sent to carrier.

CloseAtTimeM-

hh:mm

Time when the facilities will close (for pickup). Will be reflected on the Pickup Request and consignment data sent to carrier.

ReferencestringO20Stores the primary business reference (i.e. Sales Order Number, Pick Number, etc)
ReferencesReference[]O0...nAdditional References.
ModifiedByintM-UserID as defined in the session.
SessionIDlongO-Not recommended for use.
ExtraInfostringO-Not recommended for use.
ConsolidatedSusConsolidateConsignment[]O-Not recommended for use.
ContainingConsignmentlongO-Not recommended for use.
DownloadIDintO-Not recommended for use.
ConsignmentTypestringO-Not recommended for use.
ExceptionSaveExceptionO-Output. Provides detail on the result if there is an error with the data provided.

...

Status
colourBlue
titleOUTPUT
Not recommended for use.
ConsignmentIDlong
Status
titleO
-
Status
colourGreen
titleBOTH

ID of the record in the OneFlo database.

Not required on creation.

When updating an existing consignment, provide the ConsignmentID.

ConsignmentItemsConsignmentItem[]
Status
colourRed
titleM
1...n
Status
colourGreen
titleBOTH
Details the items included in the consignment.
ConsignmentNotestring
Status
titleO
20
Status
colourGreen
titleBOTH

When provided, the consignment will be created with the provided Connote number.

When not provided, OneFlo will generate a new connote number form the range.

ConsolidatedSusConsolidateConsignment[]
Status
titleO
-
Status
colourBlue
titleOUTPUT
Not recommended for use.
ContainingConsignmentlong
Status
titleO
-
Status
colourBlue
titleOUTPUT
Not recommended for use.
DeliveryInstructionsstring
Status
titleO
80
Status
colourGreen
titleBOTH
Delivery Instructions. Will appear on labels (depending on carrier specification may be limited in terms of number of characters due to real estate).
Descriptionstring
Status
titleO
30
Status
colourGreen
titleBOTH
Description of Consignment. Won't appear on labels.
DistributorIDint
Status
colourRed
titleM
-
Status
colourGreen
titleBOTH
DistributorID retrieved from Session.
DownloadIDint
Status
titleO
-
Status
colourBlue
titleOUTPUT
Not recommended for use.
ExceptionSaveException
Status
titleO
-
Status
colourBlue
titleOUTPUT
Output. Provides detail on the result if there is an error with the data provided.
ExtConsignmentsExt
Status
titleO
0...1
Status
colourGreen
titleBOTH
Additional information for a consignment.
ExtraInfostring
Status
titleO
-
Status
colourBlue
titleOUTPUT
Not recommended for use.
Hoursfloat
Status
titleO
-
Status
colourGreen
titleBOTH
Default 0.
ModifiedByint
Status
colourRed
titleM
-
Status
colourGreen
titleBOTH
UserID as defined in the session.
NoItemsshort
Status
titleO
-
Status
colourBlue
titleOUTPUT
Item Count Summary for the consignment. Computed from the data provided in ConsignmentItems.
OnForwarderint
Status
titleO
-
Status
colourGreen
titleBOTH
Not required when Service is provided.
PickupInstructionsstring
Status
titleO
80
Status
colourGreen
titleBOTH
Pickup Instructions. Will appear on Pickup request data when carrier is configured.
ReadyAt

Time

Status
colourRed
titleM
-
Status
colourGreen
titleBOTH

hh:mm

Time when the consignment is ready to be picked up. Will be reflected on Pickup Request and cosignment data sent to carrier.

ReceiverAddress
Status
colourRed
titleM
1
Status
colourGreen
titleBOTH
Details of the receiver of the freight.
Referencestring
Status
titleO
20
Status
colourGreen
titleBOTH
Stores the primary business reference (i.e. Sales Order Number, Pick Number, etc)
ReferencesReference[]
Status
titleO
0...n
Status
colourGreen
titleBOTH
Additional References.
ReleasedDateTime
Status
colourRed
titleM
-
Status
colourGreen
titleBOTH
Date of the release of the consignment, must be provided but will be updated by the system when the consignment is actually released via the Release*Consignment API.
SenderAddress
Status
colourRed
titleM
1
Status
colourGreen
titleBOTH
Details of the sender of the freight.
Servicestring
Status
colourRed
titleM
10
Status
colourGreen
titleBOTH
Service for use. Must be a service defined in OneFlo as retrieved from the ShipperService Element of the ServicePricing.
SessionIDlong
Status
titleO
-
Status
colourBlue
titleOUTPUT
Not recommended for use.
SpecialInstructionsstring
Status
titleO
80
Status
colourGreen
titleBOTH
Additional Instructions. Will appear on labels (depending on carrier specification may be limited in terms of number of characters due to real estate).
Volumefloat
Status
titleO
-
Status
colourBlue
titleOUTPUT
Total Consignment Volume in cubic metres. Computed from the data provided in ConsignmentItems.
Weightfloat
Status
titleO
-
Status
colourBlue
titleOUTPUT
Total Consignment weight in kilograms. Computed from the data provided in ConsignmentItems.

Legend:

MandatoryDetermine if the element is required when using this ComplexType.
Status
colourRed
titleM
Element must be declared.
Status
titleO
Element may be omitted.
DirectionDetermine when the element is used.
Status
colourGreen
titleBOTH
Provided as both input and response from the Web Service
Status
colourBlue
titleOUTPUT
Only provided as a response from Web Service

Example

Code Block
languagexml
themeRDark
linenumberstrue
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cha="http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices">
	<soapenv:Header/>
	<soapenv:Body>
		<cha:SaveConsignment>
			<cha:session>
				<cha:AccountID>115860</cha:AccountID>
				<cha:DistributorID>101605</cha:DistributorID>
				<cha:Expires>2018-09-18T15:30:14.923</cha:Expires>
				<cha:Key>3A1D47BB-40F7-4C71-ADAC-0689A298576B</cha:Key>
				<cha:UserID>64796</cha:UserID>
			</cha:session>
			<cha:consignment>
				<cha:AccountID>115860</cha:AccountID>
				<cha:CloseAt>16:00</cha:CloseAt>
				<cha:ConsignmentDate>2018-09-18T16:00:00</cha:ConsignmentDate>
				<cha:ConsignmentID>0</cha:ConsignmentID>
				<cha:ConsignmentItems>
					<!--Zero or more repetitions:-->
					<cha:ConsignmentItem>
						<cha:Barcode>QRX11236-001</cha:Barcode> <!--unique item code linked to connote as printed on label -->
						<cha:ConsignmentID>0</cha:ConsignmentID>
						<cha:Description>QRX11236</cha:Description>
						<cha:Height>100</cha:Height>
						<cha:ItemNo>1</cha:ItemNo>
						<cha:ItemType>CARTON</cha:ItemType>
						<cha:Length>100</cha:Length>
						<cha:NoItems>1</cha:NoItems>
						<cha:Volume>0.001</cha:Volume>
						<cha:Weight>5</cha:Weight>
						<cha:Width>100</cha:Width>
					</cha:ConsignmentItem>
				</cha:ConsignmentItems>
				<cha:ConsignmentNote>QRX11236</cha:ConsignmentNote>
				<cha:ConsignmentType/>
				<cha:ConsolidatedSus>
		               <cha:ConsolidateConsignment>
		                  <cha:Height>10</cha:Height>
		                  <cha:ItemType>CARTON</cha:ItemType>
		                  <cha:Items>2</cha:Items>
		                  <cha:Length>10</cha:Length>
		                  <cha:Volume>10</cha:Volume>
		                  <cha:Weight>15</cha:Weight>
		                  <cha:Width>20</cha:Width>
		               </cha:ConsolidateConsignment>
		            </cha:ConsolidatedSus>
				<cha:ContainingConsignment>0</cha:ContainingConsignment>
				<cha:DeliveryInstructions>TEST DEL</cha:DeliveryInstructions>
				<cha:Description>Description</cha:Description>
				<cha:DistributorID>101605</cha:DistributorID>
				<cha:DownloadID>0</cha:DownloadID>

				<cha:Ext>
					<cha:ConsignmentID>0</cha:ConsignmentID>
					<cha:CostCenter/>
					<cha:ThirdPartyAccount/>
					<cha:UserField1/>
					<cha:UserField2/>
					<cha:UserField3/>
					<cha:UserField4/>
					<cha:UserField5/>
				</cha:Ext>
				<cha:ExtraInfo/>
				<cha:Hours>0</cha:Hours>
				<cha:ModifiedBy>64796</cha:ModifiedBy>
				<cha:NoItems>1</cha:NoItems>
				<cha:OnForwarder>102261</cha:OnForwarder>
				<cha:PickupInstructions>Test PICK</cha:PickupInstructions>
				
				<cha:ReadyAt>13:00</cha:ReadyAt>
				<cha:Receiver>
					<cha:AccountID>115860</cha:AccountID>
					<cha:AddressID>0</cha:AddressID>
					<cha:AddressLocation>
						<cha:LocationID>0</cha:LocationID>
						<cha:Locality>MELBOURNE</cha:Locality>
						<cha:State>VIC</cha:State>
						<cha:Postcode>3000</cha:Postcode>
						<cha:CountryCode>AU</cha:CountryCode>
						<cha:SuburbStatePostcode>MELBOURNE VIC 3000</cha:SuburbStatePostcode>
					</cha:AddressLocation>
					<cha:Line1>123 Test ST</cha:Line1>
					<cha:Line2/>
					<cha:LocationID>0</cha:LocationID>
					<cha:ModifiedBy>64796</cha:ModifiedBy>
					<cha:ContactName>Dennis</cha:ContactName>
					<cha:Email>dennis@efmlogistics.com.au</cha:Email>
					<cha:Name>HELLO WORLD</cha:Name>
					<cha:Phone>01000000</cha:Phone>

				</cha:Receiver>
				
				<cha:Reference>123456</cha:Reference>
				<cha:References>
					<!--Zero or more repetitions:-->
					<cha:Reference>
						<cha:ConsignmentReference/>
						<cha:RemoveReference>0</cha:RemoveReference>
					</cha:Reference>
				</cha:References>
				<cha:Released>2018-09-05T16:10:00</cha:Released>
				<cha:Sender>
		               <cha:AccountID>115860</cha:AccountID>
		               <cha:AddressID>0</cha:AddressID>
		               <cha:AddressLocation>
		                  <cha:LocationID>0</cha:LocationID>
		                  <cha:Locality>GLEN WAVERLEY</cha:Locality>
		                  <cha:State>VIC</cha:State>
		                  <cha:Postcode>3150</cha:Postcode>
		                  <cha:CountryCode>AU</cha:CountryCode>
		                  <cha:SuburbStatePostcode>GLEN WAVERLEY VIC 3150</cha:SuburbStatePostcode>
		               </cha:AddressLocation>
		               <cha:ContactName>test, user</cha:ContactName>
		               <cha:Email>ed@efm.com</cha:Email>
		               <cha:Line1>c/ EFM</cha:Line1>
		               <cha:Line2></cha:Line2>

		               <cha:LocationID>0</cha:LocationID>
		               <cha:ModifiedBy>64796</cha:ModifiedBy>
		               <cha:Name>OneFlo</cha:Name>
		               <cha:Phone>000000000</cha:Phone>
		               <cha:State>VIC</cha:State>
		               <cha:Suburb>GLEN WAVERLEY</cha:Suburb>
		            </cha:Sender>
		            
				<cha:Service>NPG</cha:Service>
				<cha:SessionID>0</cha:SessionID>
				<cha:SpecialInstructions>TEST SPE</cha:SpecialInstructions>
				<cha:Volume>0.001</cha:Volume>
				<cha:Weight>1</cha:Weight>
			</cha:consignment>
		</cha:SaveConsignment>
	</soapenv:Body>
</soapenv:Envelope>



...

Anchor
complextype_anchor
complextype_anchor
Address

...