Thursday, 28 January 2021

Oracle Fusion CRM - Custom Object - Create Entity - SOAP Envelop - Request and Response Sample payload

 --CRM Custom Object WSDL Link--

https://servername/crmService/CustomReferenceService?WSDL


--CreateEntity: SOAP Request--

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns2="http://xmlns.oracle.com/apps/custom/extnService/types/" xmlns:ns1="http://xmlns.oracle.com/apps/custom">
   <env:Body>
      <ns2:createEntity>
         <ns2:object xsi:type="ns1:Test_c" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ns1:RecordName>Test3</ns1:RecordName>
            <ns1:Name_c>Test3</ns1:Name_c>
         </ns2:object>
         <ns2:objectName>Test_c</ns2:objectName>
      </ns2:createEntity>
   </env:Body>
</env:Envelope>


--SOAP Response---

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:typ="http://xmlns.oracle.com/apps/custom/extnService/types/">
   <env:Header>
      <wsa:Action>http://xmlns.oracle.com/apps/custom/extnService//CustomReferenceService/createEntityResponse</wsa:Action>
      <wsa:MessageID>urn:uuid:e6cec740-6908-4619-8e62-2a1093887970</wsa:MessageID>
   </env:Header>
   <env:Body>
      <ns0:createEntityResponse xmlns:ns0="http://xmlns.oracle.com/apps/custom/extnService/types/">
         <ns2:result xsi:type="ns1:Test_c" xmlns:ns2="http://xmlns.oracle.com/apps/custom/extnService/types/" xmlns:ns1="http://xmlns.oracle.com/apps/custom" xmlns:ns0="http://xmlns.oracle.com/adf/svc/types/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ns1:Id>300000012171956</ns1:Id>
            <ns1:RecordName>Test3</ns1:RecordName>
            <ns1:CreatedBy>test.scm</ns1:CreatedBy>
            <ns1:CreationDate>2021-01-28T09:34:30.0Z</ns1:CreationDate>
            <ns1:LastUpdatedBy>test.scm</ns1:LastUpdatedBy>
            <ns1:LastUpdateDate>2021-01-28T09:34:32.827Z</ns1:LastUpdateDate>
            <ns1:ObjectVersionNumber>1</ns1:ObjectVersionNumber>
            <ns1:RecordNumber>3013</ns1:RecordNumber>
            <ns1:LastUpdateLogin xsi:nil="true"/>
            <ns1:UserLastUpdateDate xsi:nil="true"/>
            <ns1:CurrencyCode>USD</ns1:CurrencyCode>
            <ns1:CurcyConvRateType>Corporate</ns1:CurcyConvRateType>
            <ns1:CorpCurrencyCode>USD</ns1:CorpCurrencyCode>
            <ns1:OraZcxOwner_Id_c>-1</ns1:OraZcxOwner_Id_c>
            <ns1:OraZcxOwner_c>-1</ns1:OraZcxOwner_c>
            <ns1:Name_c>Test3</ns1:Name_c>
            <ns1:SelectedRow xsi:nil="true"/>
         </ns2:result>
      </ns0:createEntityResponse>
   </env:Body>
</env:Envelope>


No comments:

Post a Comment