Upload Attachments to an Affected Item on a Change Order

You can use the generic SOAP port web service (GenericSoapService) to upload files to an Oracle content repository. And you can use the document attributes to add an attachment to the affected item on a change order via the Product Design Change Orders SOAP service, just like you would in the Oracle Fusion Cloud Applications user interface.

Let's say James is a product data steward preparing a production system to go live. In this scenario, he'll use the Product Design Change Order Services SOAP Services to add attachments to an affected item on a change order in three steps:

  1. Encode an attachment in Base64 format.
  2. Upload an attachment to an Oracle content repository.
  3. Add an attachment to the affected item on a change order.

Encode an Attachment in Base64 Format

$ openssl base64 -in CADUsecases.pptx -out encode.txt

Upload an Attachment to an Oracle Content Repository

Use this URL format.

https://hostname/idcws/GenericSoapPort?wsdl

Here's an example of the request body in XML format.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ucm="http://www.oracle.com/UCM">
   <soapenv:Header/>
   <soapenv:Body>
      <ucm:GenericRequest webKey="cs">
         <ucm:Service IdcService="CHECKIN_NEW">
            <ucm:Document>
               <!--Zero or more repetitions:-->
               <ucm:Field name="dSecurityGroup">FAFusionImportExport</ucm:Field>
               <ucm:Field name="dDocType">Document</ucm:Field>
               <ucm:Field name="dDocAccount">scm$/item$/import$</ucm:Field>
               <ucm:Field name="primaryFile">CADUsecases.pptx</ucm:Field>
               <ucm:Field name="dDocAuthor">PLM_AUTO</ucm:Field>
               <ucm:Field name="dDocTitle">CADUsecases.pptx</ucm:Field>
               <ucm:Field name="primaryFile:path">Contribution Folders</ucm:Field>
               <!--Zero or more repetitions:-->
               <ucm:File href="CADUsecases.pptx" name="primaryFile">
                  <ucm:Contents><!-- Copy paste encode text from step 1--></ucm:Contents>
               </ucm:File>
            </ucm:Document>
         </ucm:Service>
      </ucm:GenericRequest>
   </soapenv:Body>
</soapenv:Envelope>

Extract the dID, dDocName attributes from the response.

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
   <env:Header/>
   <env:Body>
      <ns0:GenericResponse xmlns:ns0="http://www.oracle.com/UCM">
         <ns0:Service IdcService="CHECKIN_NEW">
            <ns0:Document>
               <ns0:Field name="xPartnerLevel:isSetDefault">1</ns0:Field>
               <ns0:Field name="xAnnotationDetails:isSetDefault">1</ns0:Field>
               <ns0:Field name="localizedForResponse">1</ns0:Field>
               <ns0:Field name="xIPMSYS_BATCH_ID1">0</ns0:Field>
               <ns0:Field name="dActionDate">3/15/23 6:44 PM</ns0:Field>
               <ns0:Field name="dpTriggerField">xIdcProfile</ns0:Field>
               <ns0:Field name="dConversionState">New</ns0:Field>
               <ns0:Field name="dClbraName"/>
               <ns0:Field name="isCheckin">1</ns0:Field>
               <ns0:Field name="xWCWorkflowApproverUserList:isSetDefault">1</ns0:Field>
               <ns0:Field name="xIPM_APP_1_10:isSetDefault">1</ns0:Field>
               <ns0:Field name="dSecurityGroup:rule">IpmSystemFields_Restricted</ns0:Field>
               <ns0:Field name="dWebExtension">pptx</ns0:Field>
               <ns0:Field name="xCpdIsLocked:isSetDefault">1</ns0:Field>
               <ns0:Field name="LockedContents1">dDocName:UCMFA00226821</ns0:Field>
               <ns0:Field name="isEditMode">1</ns0:Field>
               <ns0:Field name="IdcService">CHECKIN_NEW</ns0:Field>
               <ns0:Field name="scriptableActionFlags">12</ns0:Field>
               <ns0:Field name="dOutDate"/>
               <ns0:Field name="dRevClassID">226821</ns0:Field>
               <ns0:Field name="xFndVirusScanThreat:isSetDefault">1</ns0:Field>
               <ns0:Field name="xIPM_APP_1_6:rule">IpmApp_1_Fields_Hide</ns0:Field>
               <ns0:Field name="xPartnerType"/>
               <ns0:Field name="dDocCreator">PLM_AUTO</ns0:Field>
               <ns0:Field name="dDocLastModifier">PLM_AUTO</ns0:Field>
               <ns0:Field name="xWCWorkflowAssignment:isSetDefault">1</ns0:Field>
               <ns0:Field name="xIPMSYS_BATCH_SEQ"/>
               <ns0:Field name="xIPM_APP_1_0:isSetDefault">1</ns0:Field>
               <ns0:Field name="xIPM_APP_1_11:isSetDefault">1</ns0:Field>
               <ns0:Field name="xIdcProfile:isSetDefault">1</ns0:Field>
               <ns0:Field name="xPurgeStatus:isSetDefault">1</ns0:Field>
               <ns0:Field name="xVideoRenditions:isSetDefault">1</ns0:Field>
               <ns0:Field name="dReleaseState">N</ns0:Field>
               <ns0:Field name="xTemplateType"/>
               <ns0:Field name="xIPM_APP_1_4:rule">IpmApp_1_Fields_Hide</ns0:Field>
               <ns0:Field name="xWCTags:isSetDefault">1</ns0:Field>
               <ns0:Field name="xFndVirusScanDate">3/15/23 6:44 PM</ns0:Field>
               <ns0:Field name="xIPM_APP_1_8:isSetDefault">1</ns0:Field>
               <ns0:Field name="xWCWorkflowAssignment"/>
               <ns0:Field name="RenditionId">webViewableFile</ns0:Field>
               <ns0:Field name="dPublishState"/>
               <ns0:Field name="dID">226874</ns0:Field>
               <ns0:Field name="xLibraryGUID"/>
               <ns0:Field name="dpEvent">OnSubmit</ns0:Field>
               <ns0:Field name="xIPM_APP_1_6:isSetDefault">1</ns0:Field>
               <ns0:Field name="refreshSubMonikers"/>
               <ns0:Field name="xIPMSYS_SCKEY"/>
               <ns0:Field name="xIPM_APP_2_0:rule">IpmApp_2_Fields_Hide</ns0:Field>
               <ns0:Field name="xComments"/>
               <ns0:Field name="StatusCode">0</ns0:Field>
               <ns0:Field name="xPackagedConversions"/>
               <ns0:Field name="xIPM_APP_1_1:isSetDefault">1</ns0:Field>
               <ns0:Field name="reserveLocation">1</ns0:Field>
               <ns0:Field name="dRawDocID">453345</ns0:Field>
               <ns0:Field name="xIPM_APP_1_1:rule">IpmApp_1_Fields_Hide</ns0:Field>
               <ns0:Field name="primaryFile:path">/u01/APPLTOP/instance/domains/fa.oracleoutsourcing.com/FADomain/ucm/cs/vault/~temp/2026573117.pptx</ns0:Field>
               <ns0:Field name="dDocTitle">CADUsecases.pptx</ns0:Field>
               <ns0:Field name="xFndVirusScanTrustedSource"/>
               <ns0:Field name="dFileSize">0</ns0:Field>
               <ns0:Field name="dConvActionDate">3/15/23 6:44 PM</ns0:Field>
               <ns0:Field name="dpAction">CheckinNew</ns0:Field>
               <ns0:Field name="scriptableActionParams">CHECKIN_NEW_SUB</ns0:Field>
               <ns0:Field name="dActionMillis">412466268</ns0:Field>
               <ns0:Field name="xIPMSYS_STATUS:rule">IpmSystemFields_Hide</ns0:Field>
               <ns0:Field name="xVideoRenditions"/>
               <ns0:Field name="dDocCreatedDate">3/15/23 6:44 PM</ns0:Field>
               <ns0:Field name="RedirectParams"><![CDATA[IdcService=CHECKIN_CONFIRM_FORM&dID=<$dID$>&dDocTitle=<$url(dDocTitle)$>&dDocName=<$url(dDocName)$>&dDocAuthor=<$url(dDocAuthor)$>]]></ns0:Field>
               <ns0:Field name="xPartitionId:isSetDefault">1</ns0:Field>
               <ns0:Field name="dDocName">UCMFA00226821</ns0:Field>
               <ns0:Field name="xPartnerProgram:isSetDefault">1</ns0:Field>
               <ns0:Field name="xIPMSYS_REDACTION:isSetDefault">1</ns0:Field>
               <ns0:Field name="xIPM_APP_1_9:rule">IpmApp_1_Fields_Hide</ns0:Field>
               <ns0:Field name="dDocAuthor">PLM_AUTO</ns0:Field>
               <ns0:Field name="dFormat">application/vnd.openxmlformats-officedocument.presentationml.presentation</ns0:Field>
               <ns0:Field name="xIPM_APP_1_8:rule">IpmApp_1_Fields_Hide</ns0:Field>
               <ns0:Field name="xCpdIsTemplateEnabled:isSetDefault">1</ns0:Field>
               <ns0:Field name="dRevRank">0</ns0:Field>
               <ns0:Field name="dDocID">453346</ns0:Field>
               <ns0:Field name="xClbraAliasList"/>
               <ns0:Field name="primaryFile">CADUsecases.pptx</ns0:Field>
               <ns0:Field name="xIPMSYS_APP_ID"/>
               <ns0:Field name="xWebFlag"/>
               <ns0:Field name="dOriginalName">CADUsecases.pptx</ns0:Field>
               <ns0:Field name="fSecurityGroup">FAFusionImportExport</ns0:Field>
               <ns0:Field name="xIPM_APP_1_9:isSetDefault">1</ns0:Field>
               <ns0:Field name="xIPM_APP_1_2:rule">IpmApp_1_Fields_Hide</ns0:Field>
               <ns0:Field name="dFlag1"/>
               <ns0:Field name="xFndVirusScanner">oracle.apps.fnd.applcore.icap.IcapVirusScanner</ns0:Field>
               <ns0:Field name="xExternalDataSet"/>
               <ns0:Field name="prevReleaseState"/>
               <ns0:Field name="xFndVirusScanMediaType">image/png</ns0:Field>
               <ns0:Field name="xIPM_APP_2_0:isSetDefault">1</ns0:Field>
               <ns0:Field name="xIPM_APP_1_5:isSetDefault">1</ns0:Field>
               <ns0:Field name="dDocAccount">scm$/item$/import$</ns0:Field>
               <ns0:Field name="xDamConversionType"/>
               <ns0:Field name="dDocOwner">PLM_AUTO</ns0:Field>
               <ns0:Field name="xIPM_APP_1_10"/>
               <ns0:Field name="xIPM_APP_1_11"/>
               <ns0:Field name="dConvJobID">3001</ns0:Field>
               <ns0:Field name="xPartnerProgram"/>
               <ns0:Field name="xIPM_APP_1_5:rule">IpmApp_1_Fields_Hide</ns0:Field>
               <ns0:Field name="scriptableActionType">3</ns0:Field>
               <ns0:Field name="dDocType:rule">IpmSystemFields_Restricted</ns0:Field>
               <ns0:Field name="xStorageRule">FusionStorageRule</ns0:Field>
               <ns0:Field name="xPartnerType:isSetDefault">1</ns0:Field>
               <ns0:Field name="VaultfilePath">/u01/APPLTOP/instance/domains/fa.oracleoutsourcing.com/FADomain/ucm/cs/vault/~temp/2026573117.pptx</ns0:Field>
               <ns0:Field name="xIPMSYS_BATCH_SEQ:rule">IpmSystemFields_Hide</ns0:Field>
               <ns0:Field name="dAction">Checkin</ns0:Field>
               <ns0:Field name="idcToken"/>
               <ns0:Field name="xIPM_APP_1_3:rule">IpmApp_1_Fields_Hide</ns0:Field>
               <ns0:Field name="xWCTags"/>
               <ns0:Field name="xFndVirusScanThreat"/>
               <ns0:Field name="xIPMSYS_PARENT_ID">0</ns0:Field>
               <ns0:Field name="xIPM_APP_2_0"/>
               <ns0:Field name="dStatus">GENWWW</ns0:Field>
               <ns0:Field name="dInDate">3/15/23 6:44 PM</ns0:Field>
               <ns0:Field name="xIPMSYS_BATCH_ID1:isSetDefault">1</ns0:Field>
               <ns0:Field name="scriptableActionErr"/>
               <ns0:Field name="xCpdIsTemplateEnabled">0</ns0:Field>
               <ns0:Field name="xPartitionId"/>
               <ns0:Field name="UseForwardOnlyCursor"/>
               <ns0:Field name="xIPM_APP_1_7:rule">IpmApp_1_Fields_Hide</ns0:Field>
               <ns0:Field name="xCpdIsLocked">0</ns0:Field>
               <ns0:Field name="dConversion">NativeThumbnail</ns0:Field>
               <ns0:Field name="xFndVirusScanDefVersion">"007995-36.152-010650-115542"</ns0:Field>
               <ns0:Field name="xIPM_APP_1_2:isSetDefault">1</ns0:Field>
               <ns0:Field name="scriptableActionFunction">doSubService</ns0:Field>
               <ns0:Field name="xIPM_APP_1_4:isSetDefault">1</ns0:Field>
               <ns0:Field name="xDamConversionType:isSetDefault">1</ns0:Field>
               <ns0:Field name="xPackagedConversions:isSetDefault">1</ns0:Field>
               <ns0:Field name="dDocLastModifiedDate">3/15/23 6:44 PM</ns0:Field>
               <ns0:Field name="ActivityUser">PLM_AUTO</ns0:Field>
               <ns0:Field name="xExternalDataSet:isSetDefault">1</ns0:Field>
               <ns0:Field name="xIPM_APP_1_0:rule">IpmApp_1_Fields_Hide</ns0:Field>
               <ns0:Field name="xIPM_APP_1_10:rule">IpmApp_1_Fields_Hide</ns0:Field>
               <ns0:Field name="xIsACLReadOnlyOnUI">0</ns0:Field>
               <ns0:Field name="xWCPageId"/>
               <ns0:Field name="xIPMSYS_PARENT_ID:rule">IpmSystemFields_Hide</ns0:Field>
               <ns0:Field name="xPurgeStatus"/>
               <ns0:Field name="xLibraryGUID:isSetDefault">1</ns0:Field>
               <ns0:Field name="xIPMSYS_APP_ID:isSetDefault">1</ns0:Field>
               <ns0:Field name="xIPM_APP_1_0"/>
               <ns0:Field name="isInfoOnly"/>
               <ns0:Field name="xIPM_APP_1_1"/>
               <ns0:Field name="xIPM_APP_1_2"/>
               <ns0:Field name="xIPM_APP_1_3"/>
               <ns0:Field name="xIPM_APP_1_4"/>
               <ns0:Field name="xIPM_APP_1_5"/>
               <ns0:Field name="xIPM_APP_1_6"/>
               <ns0:Field name="xIPM_APP_1_7"/>
               <ns0:Field name="xIPM_APP_1_8"/>
               <ns0:Field name="xIPM_APP_1_9"/>
               <ns0:Field name="StatusMessageKey">!csServiceStatusMessage_checkin,UCMFA00226821</ns0:Field>
               <ns0:Field name="xIPMSYS_PARENT_ID:isSetDefault">1</ns0:Field>
               <ns0:Field name="dIsPrimary">1</ns0:Field>
               <ns0:Field name="dExtension">pptx</ns0:Field>
               <ns0:Field name="ActivityDate">{ts '2023-03-15 00:00:00.000'}</ns0:Field>
               <ns0:Field name="xIPMSYS_SCKEY:isSetDefault">1</ns0:Field>
               <ns0:Field name="dProcessingState">C</ns0:Field>
               <ns0:Field name="dWorkflowState"/>
               <ns0:Field name="changedMonikers"/>
               <ns0:Field name="isDocProfileUsed">true</ns0:Field>
               <ns0:Field name="dDocType">Document</ns0:Field>
               <ns0:Field name="xIPM_APP_1_11:rule">IpmApp_1_Fields_Hide</ns0:Field>
               <ns0:Field name="xIPMSYS_REDACTION">0</ns0:Field>
               <ns0:Field name="xIPMSYS_REDACTION:rule">IpmSystemFields_Hide</ns0:Field>
               <ns0:Field name="noDocLock">1</ns0:Field>
               <ns0:Field name="IsQueryObjectPersistent"/>
               <ns0:Field name="fDocAccount">scm$/item$/import$</ns0:Field>
               <ns0:Field name="xWebFlag:isSetDefault">1</ns0:Field>
               <ns0:Field name="xIsACLReadOnlyOnUI:isSetDefault">1</ns0:Field>
               <ns0:Field name="xTemplateType:isSetDefault">1</ns0:Field>
               <ns0:Field name="xIPMSYS_BATCH_SEQ:isSetDefault">1</ns0:Field>
               <ns0:Field name="refreshMonikers"/>
               <ns0:Field name="xIdcProfile"/>
               <ns0:Field name="dIsWebFormat">0</ns0:Field>
               <ns0:Field name="xWCPageId:isSetDefault">1</ns0:Field>
               <ns0:Field name="dConvStartDate">3/15/23 6:44 PM</ns0:Field>
               <ns0:Field name="dPublishType"/>
               <ns0:Field name="xComments:isSetDefault">1</ns0:Field>
               <ns0:Field name="xClbraUserList"/>
               <ns0:Field name="xFndVirusScanResult">CLEAN</ns0:Field>
               <ns0:Field name="xFndVirusScanDataHash">F0080FD8FBA1666CF57D1D64632E54B5E878A4D9</ns0:Field>
               <ns0:Field name="dLocation"/>
               <ns0:Field name="xIPMSYS_BATCH_ID1:rule">IpmSystemFields_Hide</ns0:Field>
               <ns0:Field name="xIPMSYS_SCKEY:rule">IpmSystemFields_Hide</ns0:Field>
               <ns0:Field name="xIPMSYS_STATUS"/>
               <ns0:Field name="StorageRule">FusionStorageRule</ns0:Field>
               <ns0:Field name="dUser">PLM_AUTO</ns0:Field>
               <ns0:Field name="xWCWorkflowApproverUserList"/>
               <ns0:Field name="isNew">1</ns0:Field>
               <ns0:Field name="xAnnotationDetails">0</ns0:Field>
               <ns0:Field name="dSecurityGroup">FAFusionImportExport</ns0:Field>
               <ns0:Field name="StatusMessage">Successfully checked in content item 'UCMFA00226821'.</ns0:Field>
               <ns0:Field name="dCreateDate">3/15/23 6:44 PM</ns0:Field>
               <ns0:Field name="xIPM_APP_1_3:isSetDefault">1</ns0:Field>
               <ns0:Field name="dRevisionID">1</ns0:Field>
               <ns0:Field name="isDocProfileDone">1</ns0:Field>
               <ns0:Field name="ActivityTimeStamp">{ts '2023-03-15 18:44:26.269'}</ns0:Field>
               <ns0:Field name="xIPM_APP_1_7:isSetDefault">1</ns0:Field>
               <ns0:Field name="xIPMSYS_STATUS:isSetDefault">1</ns0:Field>
               <ns0:Field name="dRevLabel">1</ns0:Field>
               <ns0:Field name="xIPMSYS_APP_ID:rule">IpmSystemFields_Hide</ns0:Field>
               <ns0:Field name="xPartnerLevel"/>
               <ns0:ResultSet name="UserAttribInfo">
                  <ns0:Row>
                     <ns0:Field name="dUserName">PLM_AUTO</ns0:Field>
                     <ns0:Field name="AttributeInfo">account,#none,15,account,crm$/message$/import$,7,account,scm$/orderFulfillmentRequest$/export$,7,account,crm$/salesAccountResourceTeam$/import$,7,account,crm$/partnerContact$/import$,7,account,crm$/commonCustomObject$/import$,7,account,crm$/atcProductCatalog$/schema$,7,account,scm$/changeOrder$/import$,7,account,crm$/countryStructure$/import$,7,account,crm$/resourceTeam$/import$,7,account,scm$/customerAsset$/import$,7,account,fin$/tax$/export$,7,account,scm$/BrazilSEFAZPartnerMessages$/export$,7,account,crm$/promotion$/import$,7,account,scm$/maintenanceProgram$/import$,7,account,scm$/productGenealogy$/import$,7,account,scm$/workDefinition$/import$,7,account,crm$/atcProductCatalog$/images$,7,account,crm$/quota$/import$,7,account,prj$/projectControl$/import$,7,account,scm$/CMKOutboundMessageQueue$/export$,7,account,scm$/orderFulfillmentResponse$/import$,7,account,crm$/classificationCode$/import$,7,account,scm$/inventoryReservation$/import$,7,account,crm$/cssRoles$/import$,7,account,crm$/salesBusinessPlan$/import$,7,account,setup$/functionalSetupManager$/export$,7,account,scm$/workOrder$/import$,7,account,crm$/customerHierarchy$/import$,7,account,scm$/productConcept$/import$,7,account,scm$/receivingReceipt$/import$,7,account,crm$/asset$/import$,7,account,scm$/vmiRelationship$/import$,7,account,crm$/mooTopExtn$/import$,7,account,scm$/requirement$/import$,7,account,scm$/inventoryBalance$/import$,7,account,crm$/partner$/import$,7,account,scm$/standardCost$/import$,7,account,crm$/mktCampaigns$/import$,7,account,crm$/dataVisualizationConfiguration$/import$,7,account,crm$/territory$/import$,7,account,crm$/mctCtdAgent$/import$,7,account,crm$/atcProductCatalog$/export$,7,account,ic$/incentiveCompensationTransaction$/import$,7,account,scm$/OAGIS7PartnerMessages$/export$,7,account,crm$/customerHierarchyMember$/import$,7,account,scm$/shipmentRequest$/import$,7,account,crm$/mktActInteraction$/import$,7,account,scm$/maintenanceWorkDefinition$/import$,7,account,scm$/installedBaseAsset$/import$,7,account,fin$/receivables$/export$,7,account,scm$/inventoryTransaction$/import$,7,account,scm$/meterReading$/import$,7,account,scm$/collaborationOrderForecast$/export$,7,account,hcm$/dataloader$/import$,7,account,crm$/dealRegistration$/import$,7,account,crm$/mktList$/import$,7,account,fin$/generalLedger$/import$,7,account,crm$/mktActAdvertising$/import$,7,account,hcm$/common$/content$,7,account,crm$/response$/import$,7,account,fin$/payments$/export$,7,account,scm$/cjmBatchTransaction$/import$,7,account,scm$/B2BConfiguration$/import$,7,account,crm$/contact$/import$,7,account,scm$/workOrderMaterialTransaction$/import$,7,account,scm$/OAGIS10PartnerMessages$/import$,7,account,hed$/data$/import$,7,account,crm$/interaction$/import$,7,account,scm$/BrazilSEFAZSupplierMessages$/import$,7,account,prj$/projectResourceManagement$/import$,7,account,scm$/cycleCount$/import$,7,account,scm$/vmiRelationship$/export$,7,account,crm$/customer$/import$,7,account,fin$/tax$/import$,7,account,scm$/BrazilSEFAZPartnerMessages$/import$,7,account,crm$/lead$/import$,7,account,scm$/productProposal$/import$,7,account,crm$/consumer$/import$,7,account,prc$/supplier$/import$,7,account,crm$/opportunity$/import$,7,account,scm$/collaborationSupplierOnhand$/export$,7,account,scm$/planningDataLoader$/import$,7,account,crm$/agreement$/import$,7,account,crm$/mctAgentConnParams$/import$,7,account,crm$/zcaTopExtn$/export$,7,account,crm$/iotasset$/import$,7,account,crm$/productGroup$/import$,7,account,crm$/mktCampMembers$/import$,7,account,crm$/contract$/import$,7,account,crm$/iotreg$/import$,7,account,ic$/incentiveCompensationImportNewParticipant$/import$,7,account,crm$/simplifiedContact$/import$,7,account,crm$/groupCustomer$/import$,7,account,scm$/performShippingTransaction$/import$,7,account,crm$/subscription$/import$,7,account,ic$/incentiveCompensationRules$/import$,7,account,crm$/employeeResource$/import$,7,account,crm$/simplifiedHousehold$/import$,7,account,prj$/projectFoundation$/import$,7,account,crm$/assignmentRule$/import$,7,account,crm$/task$/import$,7,account,crm$/sourcesystemreference$/import$,7,account,crm$/note$/import$,7,account,fin$/generalLedger$/export$,7,account,setup$/functionalSetupManager$/import$,7,account,csm$/archive$,7,account,crm$/salesObjective$/import$,7,account,scm$/maintenanceWorkOrder$/import$,7,account,crm$/mktTopExtn$/import$,7,account,scm$/workOrderResourceTransaction$/import$,7,account,scm$/idea$/import$,7,account,crm$/simplifiedAccount$/import$,7,account,scm$/meterTemplate$/import$,7,account,psc$/commoncomponents$/import$,7,account,scm$/maintenanceAsset$/import$,7,account,scm$/sccDataLoader$/import$,7,account,prj$/projectSetup$/import$,7,account,scm$/OAGIS10PartnerMessages$/export$,7,account,hcm$/dataloader$/export$,7,account,scm$/sourceSalesOrder$/import$,7,account,prj$/projectManagement$/import$,7,account,fin$/receivables$/import$,7,account,hed$/data$/export$,7,account,crm$/atcProductCatalog$/import$,7,account,scm$/supplyOrder$/import$,7,account,prj$/projectEnterpriseResource$/import$,7,account,scm$/OAGIS7PartnerMessages$/import$,7,account,scm$/workOrderOperationTransaction$/import$,7,account,crm$/legalEntity$/import$,7,account,scm$/priceLists$/import$,7,account,crm$/programEnrollments$/import$,7,account,scm$/planningDataLoader$/export$,7,account,fin$/payments$/import$,7,account,scm$/item$/import$,7,account,prj$/projectCosting$/import$,7,account,crm$/appointment$/import$,7,account,prj$/grantsManagement$/import$,7,account,crm$/mktBudget$/import$,7,account,prj$/projectBilling$/import$,7,account,crm$/geography$/import$,7,account,crm$/mktActEvent$/import$,7,account,scm$/collaborationOrderForecast$/import$,7,role,guest,15,role,CRM_IOTASSET_IMPORT_RWD,15,role,CRM_ATCPRODUCTCATALOG_IMAGES_RWD,15,role,CRM_MKTCAMPMEMBERS_IMPORT_RWD,15,role,SCM_OAGIS7PARTNERMESSAGES_IMPORT_RWD,15,role,CRM_SOURCESYSTEMREFERENCE_IMPORT_RWD,15,role,PRJ_PROJECTSETUP_IMPORT_RWD,15,role,SCM_WORKORDERMATERIALTRANSACTION_IMPORT_RWD,15,role,SCM_VMIRELATIONSHIP_EXPORT_RWD,15,role,SCM_ORDERFULFILLMENTREQUEST_EXPORT_RWD,15,role,HED_DATA_IMPORT_RWD,15,role,FIN_TAX_IMPORT_RWD,15,role,CRM_GROUPCUSTOMER_IMPORT_RWD,15,role,SCM_COLLABORATIONSUPPLIERONHAND_EXPORT_RWD,15,role,SCM_INVENTORYTRANSACTION_IMPORT_RWD,15,role,CRM_SALESOBJECTIVE_IMPORT_RWD,15,role,ORA_ASM_APPLICATION_IMPLEMENTATION_CONSULTANT_JOB,15,role,ORA_FUN_FINANCIAL_APPLICATION_ADMINISTRATOR_JOB,15,role,PRJ_PROJECTCOSTING_IMPORT_RWD,15,role,ORA_OSS_SUBSCRIPTION_SPECIALIST_JOB,15,role,SETUP_FUNCTIONALSETUPMANAGER_EXPORT_RWD,15,role,SCM_ORDERFULFILLMENTRESPONSE_IMPORT_RWD,15,role,CRM_MKTACTADVERTISING_IMPORT_RWD,15,role,FIN_RECEIVABLES_EXPORT_RWD,15,role,SCM_WORKORDER_IMPORT_RWD,15,role,CRM_ATCPRODUCTCATALOG_EXPORT_RWD,15,role,CRM_MKTBUDGET_IMPORT_RWD,15,role,CRM_LEAD_IMPORT_RWD,15,role,SCM_OAGIS10PARTNERMESSAGES_IMPORT_RWD,15,role,SCM_METERREADING_IMPORT_RWD,15,role,FIN_RECEIVABLES_IMPORT_RWD,15,role,CRM_SIMPLIFIEDHOUSEHOLD_IMPORT_RWD,15,role,ORA_RCS_SUPPLY_CHAIN_APPLICATION_ADMINISTRATOR_JOB,15,role,HCM_DATALOADER_IMPORT_RWD,15,role,ORA_EGI_PRODUCT_DATA_STEWARD_JOB,15,role,PRJ_PROJECTMANAGEMENT_IMPORT_RWD,15,role,SCM_OAGIS7PARTNERMESSAGES_EXPORT_RWD,15,role,CRM_PARTNERCONTACT_IMPORT_RWD,15,role,CRM_MKTLIST_IMPORT_RWD,15,role,CRM_CONTACT_IMPORT_RWD,15,role,SCM_BRAZILSEFAZPARTNERMESSAGES_EXPORT_RWD,15,role,SCM_MAINTENANCEWORKDEFINITION_IMPORT_RWD,15,role,SCM_WORKORDEROPERATIONTRANSACTION_IMPORT_RWD,15,role,CRM_ASSET_IMPORT_RWD,15,role,SCM_MAINTENANCEPROGRAM_IMPORT_RWD,15,role,SCM_B2BCONFIGURATION_IMPORT_RWD,15,role,ORA_FND_APPLICATION_ADMINISTRATOR_JOB,15,role,CRM_MKTCAMPAIGNS_IMPORT_RWD,15,role,SCM_INVENTORYRESERVATION_IMPORT_RWD,15,role,CRMStageWrite,15,role,SCM_PRODUCTGENEALOGY_IMPORT_RWD,15,role,CRM_CONSUMER_IMPORT_RWD,15,role,IC_INCENTIVECOMPENSATIONRULES_IMPORT_RWD,15,role,CRM_OPPORTUNITY_IMPORT_RWD,15,role,HED_DATA_EXPORT_RWD,15,role,SCM_BRAZILSEFAZPARTNERMESSAGES_IMPORT_RWD,15,role,SETUP_FUNCTIONALSETUPMANAGER_IMPORT_RWD,15,role,CRM_TASK_IMPORT_RWD,15,role,CRM_MKTACTEVENT_IMPORT_RWD,15,role,CRM_SIMPLIFIEDCONTACT_IMPORT_RWD,15,role,CRM_SALESACCOUNTRESOURCETEAM_IMPORT_RWD,15,role,CRM_ATCPRODUCTCATALOG_SCHEMA_R,15,role,ORA_PER_EMPLOYEE_ABSTRACT,15,role,CRM_CUSTOMERHIERARCHY_IMPORT_RWD,15,role,CRM_COUNTRYSTRUCTURE_IMPORT_RWD,15,role,SCM_SHIPMENTREQUEST_IMPORT_RWD,15,role,ORA_CZ_PRODUCT_CONFIGURATOR_MANAGER_JOB,15,role,CRM_QUOTA_IMPORT_RWD,15,role,CRM_AGREEMENT_IMPORT_RWD,15,role,CRM_ZCATOPEXTN_EXPORT_RWD,15,role,PRJ_PROJECTENTERPRISERESOURCE_IMPORT_RWD,15,role,SCM_CYCLECOUNT_IMPORT_RWD,15,role,CRM_ASSIGNMENTRULE_IMPORT_RWD,15,role,RCS_SUPPLY_CHAIN_INTEGRATION_SPECIALIST_JOB_CUSTOM,15,role,SCM_MAINTENANCEASSET_IMPORT_RWD,15,role,SCM_INSTALLEDBASEASSET_IMPORT_RWD,15,role,PRJ_PROJECTFOUNDATION_IMPORT_RWD,15,role,SCM_PRODUCTPROPOSAL_IMPORT_RWD,15,role,SCM_PLANNINGDATALOADER_EXPORT_RWD,15,role,FolderAccessRole,15,role,SCM_WORKORDERRESOURCETRANSACTION_IMPORT_RWD,15,role,CRM_MCTAGENTCONNPARAMS_IMPORT_RWD,15,role,CRM_APPOINTMENT_IMPORT_RWD,15,role,PRJ_PROJECTRESOURCEMANAGEMENT_IMPORT_RWD,15,role,SCM_MAINTENANCEWORKORDER_IMPORT_RWD,15,role,SCM_STANDARDCOST_IMPORT_RWD,15,role,CRM_LEGALENTITY_IMPORT_RWD,15,role,CRM_ATCPRODUCTCATALOG_SCHEMA_RWD,15,role,CSM_ARCHIVE_RWD,15,role,SCM_CJMBATCHTRANSACTION_IMPORT_RWD,15,role,PRC_SUPPLIER_IMPORT_RWD,15,role,CRM_SALESBUSINESSPLAN_IMPORT_RWD,15,role,FIN_GENERALLEDGER_EXPORT_RWD,15,role,CRM_PARTNER_IMPORT_RWD,15,role,SCM_PRICELISTS_IMPORT_RWD,15,role,HCM_COMMON_CONTENT_RWD,15,role,FIN_PAYMENTS_IMPORT_RWD,15,role,AttachmentsUser,15,role,FIN_PAYMENTS_EXPORT_RWD,15,role,SCM_RECEIVINGRECEIPT_IMPORT_RWD,15,role,CRM_CUSTOMERHIERARCHYMEMBER_IMPORT_RWD,15,role,CRM_RESPONSE_IMPORT_RWD,15,role,CRM_TERRITORY_IMPORT_RWD,15,role,CRM_PROGRAMENROLLMENTS_IMPORT_RWD,15,role,PRJ_PROJECTCONTROL_IMPORT_RWD,15,role,SCM_BRAZILSEFAZSUPPLIERMESSAGES_IMPORT_RWD,15,role,SCM_IDEA_IMPORT_RWD,15,role,CRM_CSSROLES_IMPORT_RWD,15,role,ORA_CN_INCENTIVE_COMPENSATION_ADMINISTRATOR_JOB,15,role,CRM_NOTE_IMPORT_RWD,15,role,CRM_CLASSIFICATIONCODE_IMPORT_RWD,15,role,SCM_COLLABORATIONORDERFORECAST_EXPORT_RWD,15,role,IC_INCENTIVECOMPENSATIONTRANSACTION_IMPORT_RWD,15,role,SCM_CUSTOMERASSET_IMPORT_RWD,15,role,SCM_PRODUCTCONCEPT_IMPORT_RWD,15,role,SCM_INVENTORYBALANCE_IMPORT_RWD,15,role,SCM_REQUIREMENT_IMPORT_RWD,15,role,CRM_DEALREGISTRATION_IMPORT_RWD,15,role,SCM_OAGIS10PARTNERMESSAGES_EXPORT_RWD,15,role,PRJ_GRANTSMANAGEMENT_IMPORT_RWD,15,role,SCM_PLANNINGDATALOADER_IMPORT_RWD,15,role,CRM_CUSTOMER_IMPORT_RWD,15,role,CRM_GEOGRAPHY_IMPORT_RWD,15,role,CRM_EMPLOYEERESOURCE_IMPORT_RWD,15,role,SCM_CHANGEORDER_IMPORT_RWD,15,role,CRM_INTERACTION_IMPORT_RWD,15,role,CRM_MKTTOPEXTN_IMPORT_RWD,15,role,SCM_SOURCESALESORDER_IMPORT_RWD,15,role,CRM_DATAVISUALIZATIONCONFIGURATION_IMPORT_RWD,15,role,ORA_PJF_PROJECTS_APPLICATION_ADMINISTRATOR_JOB,15,role,FIN_TAX_EXPORT_RWD,15,role,IC_INCENTIVECOMPENSATIONIMPORTNEWPARTICIPANT_IMPORT_RWD,15,role,CRM_SIMPLIFIEDACCOUNT_IMPORT_RWD,15,role,SCM_ITEM_IMPORT_RWD,15,role,PRJ_PROJECTBILLING_IMPORT_RWD,15,role,CRM_RESOURCETEAM_IMPORT_RWD,15,role,ORA_HEY_HIGHER_EDUCATION_APPLICATION_ADMINISTRATOR_JOB,15,role,CRMDelete,15,role,ORA_ZCA_CUSTOMER_RELATIONSHIP_MANAGEMENT_APPLICATION_ADMINISTRATOR_JOB,15,role,SCM_METERTEMPLATE_IMPORT_RWD,15,role,CRM_ATCPRODUCTCATALOG_IMPORT_RWD,15,role,CRM_IOTREG_IMPORT_RWD,15,role,SCM_WORKDEFINITION_IMPORT_RWD,15,role,CRM_MCTCTDAGENT_IMPORT_RWD,15,role,HCM_DATALOADER_EXPORT_RWD,15,role,SCM_COLLABORATIONORDERFORECAST_IMPORT_RWD,15,role,SCM_PERFORMSHIPPINGTRANSACTION_IMPORT_RWD,15,role,ORA_PSC_PERMITS_APPLICATION_ADMINISTRATOR_JOB,15,role,CRM_PROMOTION_IMPORT_RWD,15,role,ORA_PSC_SYSTEM_ADMINISTRATOR_JOB,15,role,CRM_PRODUCTGROUP_IMPORT_RWD,15,role,ORA_PO_PROCUREMENT_APPLICATION_ADMIN_JOB,15,role,SCM_VMIRELATIONSHIP_IMPORT_RWD,15,role,CRM_SUBSCRIPTION_IMPORT_RWD,15,role,HCM_COMMON_CONTENT_R,15,role,FIN_GENERALLEDGER_IMPORT_RWD,15,role,CRM_MKTACTINTERACTION_IMPORT_RWD,15,role,CRM_MESSAGE_IMPORT_RWD,15,role,SCM_SUPPLYORDER_IMPORT_RWD,15,role,ORA_HRC_HUMAN_CAPITAL_MANAGEMENT_APPLICATION_ADMINISTRATOR_JOB,15,role,SCM_SCCDATALOADER_IMPORT_RWD,15,role,PSC_COMMONCOMPONENTS_IMPORT_RWD,15,role,CRM_MOOTOPEXTN_IMPORT_RWD,15,role,CRM_CONTRACT_IMPORT_RWD,15,role,SCM_CMKOUTBOUNDMESSAGEQUEUE_EXPORT_RWD,15,role,CRM_COMMONCUSTOMOBJECT_IMPORT_RWD,15,role,ORA_EGP_PRODUCT_MANAGER_JOB,15,role,authenticated,15,role,PersonalSpacesAuthenRole,15,role,UCM_SpacesAuthenUser,15</ns0:Field>
                  </ns0:Row>
               </ns0:ResultSet>
            </ns0:Document>
         </ns0:Service>
      </ns0:GenericResponse>
   </env:Body>
</env:Envelope>

Add an Attachment to an Affected Item on a Change Order

This payload adds an attachment to the affected item LAPTOPPRO on a change order (CO9898) via the Product Design Change Orders Web Services, Redline Item Attachments method.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/scm/productCollaboration/changes/changeObjects/changeObjectService/types/" xmlns:chan="http://xmlns.oracle.com/apps/scm/productCollaboration/changes/changeObjects/changeObjectService/">
   <soapenv:Header/>
   <soapenv:Body>
      <typ:redlineItemAttachments>
         <typ:changeNotice>CO9898</typ:changeNotice>
         <typ:organizationCode>V1</typ:organizationCode>
         <typ:sequenceNumber>10</typ:sequenceNumber>
         <!--Zero or more repetitions:-->
         <typ:attachmentAttributeList>
            <!--Optional:-->
            <chan:Title>VSUpload.pptx</chan:Title>
            <!--Optional:-->
            <chan:Description>Testing SOAP</chan:Description>
            <!--Optional:-->
            <chan:DataTypeCode>FILE</chan:DataTypeCode>
            <chan:CategoryCode>MISC</chan:CategoryCode>
            <!--Optional:-->
            <chan:UcmDocumentId>UCMFA00003910</chan:UcmDocumentId>
            <!--Optional:-->
            <chan:UcmVersionNumber>3910</chan:UcmVersionNumber>
         </typ:attachmentAttributeList>
      </typ:redlineItemAttachments>
   </soapenv:Body>
</soapenv:Envelope>

Here's the response.

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
   <env:Header>
      <wsa:Action>http://xmlns.oracle.com/apps/scm/productCollaboration/changes/changeObjects/changeObjectService/ProductDesignChangeOrderService/redlineItemAttachmentsResponse</wsa:Action>
      <wsa:MessageID>urn:uuid:830f61d0-7ac0-4dab-bb3d-7b8534933b3a</wsa:MessageID>
   </env:Header>
   <env:Body>
      <ns0:redlineItemAttachmentsResponse xmlns:ns0="http://xmlns.oracle.com/apps/scm/productCollaboration/changes/changeObjects/changeObjectService/types/">
         <ns0:result xsi:type="ns1:ChangeOrderReturn" xmlns:ns1="http://xmlns.oracle.com/apps/scm/productCollaboration/changes/changeObjects/changeObjectService/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ns1:ChangeId>300100570632018</ns1:ChangeId>
            <ns1:ChangeNotice>CO9898</ns1:ChangeNotice>
            <ns1:StatusCode>SUCCESS</ns1:StatusCode>
            <ns1:Severity xsi:nil="true"/>
            <ns1:AffectedObjectResponse>
               <ns1:ChangeLineId>300100570632035</ns1:ChangeLineId>
               <ns1:SequenceNumber>10</ns1:SequenceNumber>
               <ns1:ItemNumber>LAPTOPPRO</ns1:ItemNumber>
               <ns1:Description>Testing</ns1:Description>
               <ns1:NewItemRevisionId>300100570632036</ns1:NewItemRevisionId>
               <ns1:NewItemRevision>D</ns1:NewItemRevision>
               <ns1:LifecyclePhaseValue>Design</ns1:LifecyclePhaseValue>
               <ns1:AttachmentResponse xmlns:ns0="http://xmlns.oracle.com/adf/svc/types/">
                  <ns1:AttachmentId>300100570626298</ns1:AttachmentId>
                  <ns1:Title>VSUpload.pptx</ns1:Title>
                  <ns1:Description>Testing SOAP</ns1:Description>
                  <ns1:Category>MISC</ns1:Category>
                  <ns1:AttachmentType>FILE</ns1:AttachmentType>
                  <ns1:UcmDocumentId>UCMFA00003910</ns1:UcmDocumentId>
                  <ns1:UcmVersionNumber>3910</ns1:UcmVersionNumber>
                  <ns1:FileName>CADUsecases.pptx</ns1:FileName>
                  <ns1:Url xsi:nil="true"/>
                  <ns1:Revision>1</ns1:Revision>
                  <ns1:FileSize>83775</ns1:FileSize>
                  <ns1:LastUpdateDate>2023-01-06T21:48:54.517Z</ns1:LastUpdateDate>
                  <ns1:LastUpdateBy>PLM_AUTO</ns1:LastUpdateBy>
               </ns1:AttachmentResponse>
            </ns1:AffectedObjectResponse>
         </ns0:result>
      </ns0:redlineItemAttachmentsResponse>
   </env:Body>
</env:Envelope>