Skip Headers

Oracle E-Business Suite Integrated SOA Gateway Developer's Guide
Release 12.1
Part Number E12065-06
Go to Table of Contents
Contents
Go to previous page
Previous
Go to next page
Next

Sample Payload

Sample Payload for Creating Supplier Ship and Debit Request

The following information shows the sample payload in the InputCreateSDRequest.xml file:

<?xml version="1.0" encoding="UTF-8"?>
 <cre:InputParameters  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cre="http://xmlns.oracle.com/apps/ozf/soaprovider/plsql/ozf_sd_request_pub/create_sd_request/">
    	<cre:P_API_VERSION_NUMBER>1.0</cre:P_API_VERSION_NUMBER>
		<cre:P_INIT_MSG_LIST>T</cre:P_INIT_MSG_LIST>
 	   <cre:P_COMMIT>F</cre:P_COMMIT>
		<cre:P_VALIDATION_LEVEL>100</cre:P_VALIDATION_LEVEL>
       <cre:P_SDR_HDR_REC>
        	<cre:REQUEST_NUMBER>SDR-CREATE-BPEL1</cre:REQUEST_NUMBER>
        	<cre:REQUEST_START_DATE>2008-08-18T12:00:00</cre:REQUEST_START_DATE>
  		  	<cre:REQUEST_END_DATE>2008-10-18T12:00:00</cre:REQUEST_END_DATE>>
        	<cre:USER_STATUS_ID>1701</cre:USER_STATUS_ID>
        	<cre:REQUEST_OUTCOME>IN_PROGRESS</cre:REQUEST_OUTCOME>
        	<cre:REQUEST_CURRENCY_CODE>USD</cre:REQUEST_CURRENCY_CODE>
        	<cre:SUPPLIER_ID>601</cre:SUPPLIER_ID>
       		<cre:SUPPLIER_SITE_ID>1415</cre:SUPPLIER_SITE_ID>
        	<cre:REQUESTOR_ID>100001499</cre:REQUESTOR_ID>
		  		<cre:ASSIGNEE_RESOURCE_ID>100001499</cre:ASSIGNEE_RESOURCE_ID>
		  		<cre:ORG_ID>204</cre:ORG_ID>
		  		<cre:ACCRUAL_TYPE>SUPPLIER</cre:ACCRUAL_TYPE>
		  		<cre:REQUEST_DESCRIPTION>Create</cre:REQUEST_DESCRIPTION>
       		<cre:SUPPLIER_CONTACT_EMAIL_ADDRESS>sdr.supplier@testing.com</cre:SUPPLIER_CONTACT_EMAIL_ADDRESS>
       		<cre:SUPPLIER_CONTACT_PHONE_NUMBER>2255</cre:SUPPLIER_CONTACT_PHONE_NUMBER>
   	 		<cre:REQUEST_TYPE_SETUP_ID>400</cre:REQUEST_TYPE_SETUP_ID>
       		<cre:REQUEST_BASIS>Y</cre:REQUEST_BASIS>
       		<cre:USER_ID>1002795</cre:USER_ID>
   </cre:P_SDR_HDR_REC>
   <cre:P_SDR_LINES_TBL>
     		<cre:P_SDR_LINES_TBL_ITEM>
      				<cre:PRODUCT_CONTEXT>PRODUCT</cre:PRODUCT_CONTEXT>
						<cre:INVENTORY_ITEM_ID>2155</cre:INVENTORY_ITEM_ID>
						<cre:ITEM_UOM>Ea</cre:ITEM_UOM>
						<cre:REQUESTED_DISCOUNT_TYPE>%</cre:REQUESTED_DISCOUNT_TYPE>
						<cre:REQUESTED_DISCOUNT_VALUE>20</cre:REQUESTED_DISCOUNT_VALUE>
						<cre:COST_BASIS>200</cre:COST_BASIS>
						<cre:MAX_QTY>200</cre:MAX_QTY>
						<cre:APPROVED_DISCOUNT_TYPE>%</cre:APPROVED_DISCOUNT_TYPE>
						<cre:APPROVED_DISCOUNT_VALUE>20</cre:APPROVED_DISCOUNT_VALUE>
						<cre:APPROVED_MAX_QTY>200</cre:APPROVED_MAX_QTY>
						<cre:VENDOR_APPROVED_FLAG>Y</cre:VENDOR_APPROVED_FLAG>
						<cre:PRODUCT_COST_CURRENCY>USD</cre:PRODUCT_COST_CURRENCY>
						<cre:END_CUSTOMER_CURRENCY>USD</cre:END_CUSTOMER_CURRENCY>
         </cre:P_SDR_LINES_TBL_ITEM>
      </cre:P_SDR_LINES_TBL>
   <cre:P_SDR_CUST_TBL>
			<cre:P_SDR_CUST_TBL_ITEM>
						<cre:CUST_ACCOUNT_ID>1290</cre:CUST_ACCOUNT_ID>
						<cre:PARTY_ID>1290</cre:PARTY_ID>
						<cre:SITE_USE_ID>10479</cre:SITE_USE_ID>
						<cre:CUST_USAGE_CODE>BILL_TO</cre:CUST_USAGE_CODE>
						<cre:END_CUSTOMER_FLAG>N</cre:END_CUSTOMER_FLAG>     
      </cre:P_SDR_CUST_TBL>
         <cre:P_SDR_CUST_TBL_ITEM>
						<cre:CUST_ACCOUNT_ID>1287</cre:CUST_ACCOUNT_ID>
						<cre:PARTY_ID>1287</cre:PARTY_ID>
						<cre:SITE_USE_ID>1418</cre:SITE_USE_ID>
						<cre:CUST_USAGE_CODE>CUSTOMER</cre:CUST_USAGE_CODE>
						<cre:END_CUSTOMER_FLAG>Y</cre:END_CUSTOMER_FLAG>     
      </cre:P_SDR_CUST_TBL>
  </cre:P_SDR_CUST_TBL>
</cre:InputParameters>

Sample Payload for Inbound Process Purchase Order XML Transaction

The following information shows the sample payload in the order_data_xmlg.xml file:

<?xml version="1.0">
  <PROCESS_PO_007> <!--xmlns="http://TargetNamespace.com/ServiceName"-->
    <CNTROLAREA> 
        <BSR> 
 				<VERB>PROCESS</VERB> 
          	<NOUN>PO</NOUN> 
				<REVISION>007</REVISION> 
			</BSR> 
		 <SENDER> 
				<LOGICALID/> 
				<COMPONENT>BPEL</COMPONENT> 
				<TASK>POISSUE</TASK> 
				<REFERENCEID>refid</REFERENCEID> 
				<CONFIRMATION>2</CONFIRMATION> 
				<LANGUAGE>ENG</LANGUAGE> 
				<CODEPAGE>US7ASCII</CODEPAGE> 
				<AUTHID>APPS</AUTHID> 
		 </SENDER> 
			<DATETIME qualifier="CREATION"> 
				<YEAR>2002</YEAR> 
				<MONTH>10</MONTH> 
				<DAY>09</DAY> 
				<HOUR>16</HOUR> 
				<MINUTE>45</MINUTE> 
				<SECOND>47</SECOND> 
				<SUBSECOND>356</SUBSECOND> 
				<TIMEZONE>-0800</TIMEZONE> 
			</DATETIME> 
 	</CNTROLAREA> 
		<DATAAREA> 
			<PROCESS_PO> 
				<POORDERHDR> 
					<DATETIME qualifier="DOCUMENT"> 
						<YEAR>2002</YEAR> 
						<MONTH>10</MONTH> 
						<DAY>09</DAY> 
						<HOUR>16</HOUR> 
						<MINUTE>40</MINUTE> 
						<SECOND>34</SECOND> 
						<SUBSECOND>000</SUBSECOND> 
						<TIMEZONE>+0100</TIMEZONE> 
 				</DATETIME> 
					<OPERAMT qualifier="EXTENDED" type="T"> 
						<VALUE>107.86</VALUE> 
						<NUMOFDEC>6</NUMOFDEC> 
						<SIGN>+</SIGN> 
						<CURRENCY>USD</CURRENCY> 
						<UOMVALUE>1</UOMVALUE> 
						<UOMNUMDEC>0</UOMNUMDEC> 
						<UOM>Ea</UOM> 
			</OPERAMT> 
				<POID>refid</POID> 
				<POTYPE>Mixed</POTYPE> 
				<CONTRACTS/> 
				<DESCRIPTN/> 
				<NOTES index="1"/> 
				<USERAREA/> 
				<PARTNER> 
						<NAME index="1"/> 
						<ONETIME>0</ONETIME> 
						<PARTNRID/> 
						<PARTNRTYPE>SoldTo</PARTNRTYPE> 
						<PARTNRIDX>BWSANJOSE</PARTNRIDX> 
				</PARTNER> 
	</POORDERHDR> 
		<POORDERLIN> 
			<QUANTITY qualifier="ORDERED"> 
						<VALUE>1</VALUE> 
						<NUMOFDEC>0</NUMOFDEC> 
						<SIGN>+</SIGN> 
						<UOM>Ea</UOM> 
		</QUANTITY> 
			<OPERAMT qualifier="UNIT" type="T"> 
						<VALUE>107.86</VALUE> 
						<NUMOFDEC>6</NUMOFDEC> 
						<SIGN>+</SIGN> 
						<CURRENCY>USD</CURRENCY> 
						<UOMVALUE>1</UOMVALUE> 
						<UOMNUMDEC>0</UOMNUMDEC> 
						<UOM>Ea</UOM> 
		</OPERAMT> 
			<POLINENUM>1</POLINENUM> 
			<ITEMRV/> 
			<NOTES index="1"/> 
			<ITEM>LAP-DLX</ITEM> 
			<POLINESCHD> 
						<DATETIME qualifier="NEEDDELV"> 
								<YEAR>2002</YEAR> 
								<MONTH>10</MONTH> 
								<DAY>09</DAY> 
								<HOUR>00</HOUR> 
								<MINUTE>00</MINUTE> 
								<SECOND>00</SECOND> 
								<SUBSECOND>000</SUBSECOND> 
								<TIMEZONE>+0100</TIMEZONE> 
			</DATETIME> 
						<QUANTITY qualifier="ORDERED"> 
								<VALUE>1</VALUE> 
								<NUMOFDEC>0</NUMOFDEC> 
								<SIGN>+</SIGN> 
								<UOM>Ea</UOM> 
			</QUANTITY> 
						<PSCLINENUM>1</PSCLINENUM> 
						<USERAREA/> 
			</POLINESCHD> 
		 </POORDERLIN> 
	  </PROCESS_PO> 
  </DATAAREA> 
</PROCESS_PO_007>