|
XML String, representing the Order record requested. To view the validating XSD Schema, please
click here. An example is provided here
or below:
<Order Order_ID="aeda4fb4a2ad4ccbb81f4898072f9b28">
<Shopper_ID>tester@somesite.com</Shopper_ID>
<Basket Date_Created="2004-01-18T10:12:00">
<Contents>Basket contents would go here, please see our
Implementation Guides for more details</Contents>
</Basket>
<Shipping Date_Created="2004-01-18T10:15:00">
<First_Name>John</First_Name>
<Middle_Name></Middle_Name>
<Last_Name>Tester</Last_Name>
<Address_1>123 Somewhere St.</Address_1>
<Address_2></Address_2>
<City>Los Angeles</City>
<State>CA</State>
<Postal_Code>90210</Postal_Code>
<Country>USA</Country>
<Phone>800.555.1212</Phone>
<Fax>888.555.1212</Fax>
<Email>john.doe@somesite.com</Email>
</Shipping>
<Billing Date_Created="2004-01-18T10:15:00">
<First_Name>Suzan</First_Name>
<Middle_Name>A.</Middle_Name>
<Last_Name>Smith</Last_Name>
<Address_1>456 Somewhere Else St.</Address_1>
<Address_2>Unit 200</Address_2>
<City>Los Angeles</City>
<State>CA</State>
<Postal_Code>90210</Postal_Code>
<Country>USA</Country>
<Phone>888.555.1212</Phone>
<Fax>888.555.1212</Fax>
<Email>john.doe@somesite.com</Email>
</Billing>
<Credit_Card Date_Created="2004-01-18T10:20:00">
<Type>1</Type>
<Type_Description>Visa</Type_Description>
<Number>4111111111111111</Number>
<Expiration_Month>10</Expiration_Month>
<Expiration_Year>2006</Expiration_Year>
<Verification_Number>487</Verification_Number>
</Credit_Card>
<Comments>
<Comment Comment_Sequence="1"
Date_Created="2004-01-18T10:30:00">
<Subject>Special Color</Subject>
<Body>Red</Body>
</Comment>
<Comment Comment_Sequence="2"
Date_Created="2004-01-18T10:35:00">
<Subject>Shipping</Subject>
<Body>Please ship as soon as available</Body>
</Comment>
</Comments>
</Order>
If the Order record requested was never entered or is no longer in the system, the method will return
the <Order>
node with only the Order_ID identifier. An example is provided below:
<Order Order_ID="aeda4fb4a2ad4ccbb81f4898072f9b28" />
All non-XML strings returned by this method should be considered errors.
|