en:lensinfo:version000300:structure
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:lensinfo:version000300:structure [2013/06/03 14:17] – created sebastianraring | en:lensinfo:version000300:structure [2019/12/03 16:58] (current) – sebastianraring | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== XML-Structure ====== | ||
+ | |||
+ | |||
+ | ===== Root-Element: | ||
+ | |||
+ | In the root-element the location of the XSD at schema.b2boptic.com should be set, so the receiver could identify the version of XML. In next version it will be mandatory. | ||
+ | <code xml> | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | ^ [[en: | ||
+ | ^ type | [[en: | ||
+ | ^ occurs | 0..1 | | ||
+ | ^ description | usally not used | | ||
+ | |||
+ | ^ items ^^ | ||
+ | ^ type | sequence of item | | ||
+ | ^ occurs | 1 | | ||
+ | ^ description | main tag that include a list of status info items | | ||
+ | |||
+ | ^ item (element of items) ^^ | ||
+ | ^ type | Item | | ||
+ | ^ occurs | 1..n | | ||
+ | ^ description | a status info for one order | | ||
+ | |||
+ | ^ referenceNo (element of item) ^^ | ||
+ | ^ type | string | | ||
+ | ^ occurs | 1 | | ||
+ | ^ description | the referenceNo of the order (see B2BOptic LensOrder) | | ||
+ | |||
+ | ^ confirmedOrderId (element of item) ^^ | ||
+ | ^ type | string | | ||
+ | ^ occurs | 1 | | ||
+ | ^ description | the order number of the server; it should be unique for the customer | | ||
+ | |||
+ | ^ salesOrderId (element of item) ^^ | ||
+ | ^ type | string | | ||
+ | ^ occurs | 0..1 | | ||
+ | ^ description | order number in ERP system | | ||
+ | |||
+ | ^ confirmedOrderDate (element of item) ^^ | ||
+ | ^ type | date | | ||
+ | ^ occurs | 0..1 | | ||
+ | ^ description | date when order is received by server | | ||
+ | |||
+ | ^ estimatedDeliveryDate (element of item) ^^ | ||
+ | ^ type | date | | ||
+ | ^ occurs | 0..1 | | ||
+ | ^ description | best estimated delivery date | | ||
+ | |||
+ | ^ orderStatus (element of item) ^^ | ||
+ | ^ type | string | | ||
+ | ^ occurs | 1 | | ||
+ | ^ description | the status of the order | | ||
+ | |||
+ | ^ values ^ description ^ | ||
+ | | DELETED | order was canceled | | ||
+ | | INCOMPLETE | order is not complete and needs additional data for production | | ||
+ | | OPEN | order is in progress | | ||
+ | | ORDERED | order is ready for production | | ||
+ | | PRODUCTION | order is in production | | ||
+ | | COATING_TINTING | order is in coating or tinting | | ||
+ | | COMPLETED | order is completed but not dispatched | | ||
+ | | DISPATCHED | order was dispatched and are on the way to the customer | | ||
+ | | FINISHING | order is in finishing, where the lenses are set in a frame | | ||
+ | |||
+ | ^ errorCode (element of item) ^^ | ||
+ | ^ type | int | | ||
+ | ^ occurs | 1 | | ||
+ | ^ description | a unique code for the error | | ||
+ | |||
+ | ^ errorText (element of item) ^^ | ||
+ | ^ type | string | | ||
+ | ^ occurs | 1 | | ||
+ | ^ description | a description of the error | | ||
+ | |||
+ | ^ experimental ^^ | ||
+ | ^ type | anyType | | ||
+ | ^ occurs | 0..n | | ||
+ | ^ description | section for internal tests at development | | ||
+ | |||
+ | <code xml> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
en/lensinfo/version000300/structure.txt · Last modified: 2019/12/03 16:58 by sebastianraring