# Need help setting up incremental value in Soap Request Body

**URL:** <https://community.postman.com/t/need-help-setting-up-incremental-value-in-soap-request-body/53060>\
**Category:** Help Hub\
**Tags:** collections\
**Created:** [October 10, 2023, 10:20am UTC](https://community.postman.com/t/need-help-setting-up-incremental-value-in-soap-request-body/53060 "2023-10-10T10:20:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![muhammadfarooq91](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@muhammadfarooq91](https://community.postman.com/u/muhammadfarooq91)\
**Post date:** [October 10, 2023, 10:20am UTC](https://community.postman.com/t/need-help-setting-up-incremental-value-in-soap-request-body/53060/1 "2023-10-10T10:20:38Z")

</div>

Hi,

I need help with the below request. `<stan>123456</stan>` field needs to be update incrementally before posting the request to server for each API operations in my collections.

```auto
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v3="http://mobiliser.sybase365.com/custom/project/services/contract/v3_0">
    <soapenv:Header/>
    <soapenv:Body>
        <v3:AccountClosureRequest callback="?" origin="?" traceNo="123123" repeat="false" >
            <!--Optional:-->
            <stan>123456</stan>
            <!--Optional:-->
            <accountNumber>4540150597168</accountNumber>
            <!--Optional:-->
            <requestDateTime>17022022084500</requestDateTime>
            <!--Optional:-->
            <transactionType>1088</transactionType>
            <!--Optional:-->
            <transactionChannel>AMA</transactionChannel>
        </v3:AccountClosureRequest>
    </soapenv:Body>
</soapenv:Envelope>

```

Many thanks in advance.

---

<div class="post-metadata">

**Author:** ![xk0der](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/xk0der/32/2056_2.png) [@xk0der](https://community.postman.com/u/xk0der)\
**Post date:** [October 10, 2023, 10:58am UTC](https://community.postman.com/t/need-help-setting-up-incremental-value-in-soap-request-body/53060/2 "2023-10-10T10:58:08Z")

</div>

Hi @muhammadfarooq91 welcome to the community! 👋

If you are just starting with Postman, I would recommend you to check-out some tutorials at Postman’s Youtube channel: [https://youtube.com/postman](https://youtube.com/postman)

For your specific query, refer to the following doc on how to parse [Test script examples | Postman Learning Center](https://learning.postman.com/docs/writing-scripts/script-references/test-examples/#parsing-response-body-data) response.

Once you are able to parse and read data from API responses, learn how you can store it in variables [Store and reuse values using variables | Postman Learning Center](https://learning.postman.com/docs/sending-requests/variables/)

Finally checkout how you can run your Postman collection [Test your API functionality | Postman Learning Center](https://learning.postman.com/docs/collections/running-collections/running-collections-overview/)

* * *

If you are instead facing an issue, do provide further context along with how the requests in your collection are structured and existing scripts that are not running as intended.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [November 9, 2023, 10:59am UTC](https://community.postman.com/t/need-help-setting-up-incremental-value-in-soap-request-body/53060/3 "2023-11-09T10:59:08Z")

</div>

Closed on November 9, 2023, 10:59am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
