XML sample code

An example of how the XML handles an import request.

The following is an XML sample code used to import a category:
<!DOCTYPE  ePASSRequest  SYSTEM  "ePASS3.dtd">
<ePASSRequest  requestID="1"
submitterOrganization="emptoris_hierarchy"
submitterUser="asm"
submitterPassword="123">
submitterTimezone=”EST”
<Options>
<OptionKey=”...”  OptionValue=”...”/>
</Options>
<CatalogRequest>
<createICA
CatalogCode="emptoris_hierarchy">
<ExtendedAttributeDefinition
XADVisibility="read/write"
XADVisibleInLists="true"
XADUseInSearch="No"
XADDefaultValue="default  value  string"
XADDescription="category_req_text_single_ica"
XADIsRequired="true"
XADDataType="Text_single"
XADScope="category"
XADName="_B087_category_req_text_single_ica"
XADDomain="category"/>
</createICA>
</CatalogRequest>
</ePASSRequest>

From the above example, we can see the XML stream has DOCTYPE, which specifies the DTD ePASS3.dtd. All the XML data is started from this DTD. The XML also specifies the request type "CatalogRequest".