Activity Forums Salesforce® Discussions What is Payload?

  • Avnish Yadav

    Member
    September 5, 2018 at 2:46 pm

    Hi Chanchal,

    Request body of every HTTP message includes request data called as Payload. This part of the message is of interest to the recipient.

    We can say that we send the payload in POST method but not in <GET> and <DELTE> methods.

    hope this will help you.

    Thanks.

  • Parul

    Member
    September 5, 2018 at 10:04 pm

    Hi Chanchal,

    Payoad is the actual information or message in transmitted data, as opposed to automatically generated metadata.You cannot exceed the payload limit; this limit is in place to ensure equal access to resources for all users of the platform.
    Request body of every HTTP message includes request data, and this data is called as Payload. This part of the message is of interest to the recipient.

     

  • madhulika shah

    Member
    September 6, 2018 at 6:16 am

    Hi Chanchal,

    The Request Payload - or to be more precise, payload body of a HTTP Request - is the data normally send by a POST or PUT Request. It's the part after the headers and the CRLF of a HTTP Request.

    Thanks.

  • shariq

    Member
    September 7, 2018 at 7:43 am

    Hi Chanchal,

    The request data which is present in the body part of every HTTP message is referred as ‘Payload’. In Restful web service, the payload can only be passed to the recipient through POST method.

    There is no limit of sending data as payload through POST method but the only concern is that more data with consuming more time and bandwidth. This may consume much of user’s time also.

    Below is an example of XML payload

    <?xml version="1.0" encoding="UTF-8"?> <env:Envelope xmlns:env=" 
    http://schemas.xmlsoap.org/soap/envelope/
    " xmlns:xsd=" 
    http://www.w3.org/2001/XMLSchema
    " xmlns:xsi=" 
    http://www.w3.org/2001/XMLSchema-instance"
    > <env:Header /> <env:Body> <create xmlns=" 
    http://www.tractbilling.com/billing/1_30/service"
    > <createRequest> <billingAccount xmlns=" 
    http://www.tractbilling.com/billing/1_30/domain
    " /> <salesOrder note="An Order placed through Salesforce Opportunity Name : Test Opportunity 5 Sept 2018" xmlns=" 
    http://www.tractbilling.com/billing/1_30/domain"
    > <orderItems> <orderItem sequence="1" quantity="1"> <orderItems> <orderItem quantity="1.0"> <orderItems /> <recurringProductPrice eid="21678"> <priceCategory /> </recurringProductPrice> <product eid="18324" /> </orderItem> <orderItem quantity="1.0"> <orderItems /> <recurringProductPrice eid="21684"> <priceCategory /> </recurringProductPrice> <product eid="18326" /> </orderItem> </orderItems> <recurringProductPrice eid="21676"> <priceCategory /> </recurringProductPrice> <product name="474sub" eid="18322" /> <serviceResources> <serviceResource identifier=""> <category eid="474" /> </serviceResource> <serviceResource identifier="TEST_SER_RES_SEP_1_6"> <category eid="474" /> </serviceResource> </serviceResources> <customFieldValues> <customFieldValue value="34t"> <customField eid="598" /> </customFieldValue> <customFieldValue value="TRUE"> <customField eid="1014" /> </customFieldValue> </customFieldValues> </orderItem> </orderItems> <billingAccount accountNum="528" eid="1481624" /> </salesOrder> </createRequest> </create> </env:Body> </env:Envelope>

    Hope this helps.

Log In to reply.

Popular Salesforce Blogs