# Get Data Source
source: https://developer.mastercard.com/iccp/documentation/05_api_reference/soap_api/configuration-details/getdatasource/index.md

> Get the ID \& name of the data schema to use in submit purchase request API calls. Future versions may contain additional information.

## Parameter {#parameter}

No parameters required.

### Sample request {#sample-request}

```xml
<soapenv:Envelope
	xmlns:ser="http://mastercard.com/sd/pc/service"
	xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Header>
	</soapenv:Header>
	<soapenv:Body>
		<ser:getDataSourcesRequest></ser:getDataSourcesRequest>
	</soapenv:Body>
</soapenv:Envelope>
```

## Response {#response}

|    Names     |            Description             |     Type     |
|--------------|------------------------------------|--------------|
| dataSourceId | ID of the data source.             | Numeric      |
| dataSource   | Schema of the dataSource for ICCP. | Alphanumeric |

### Sample response {#sample-response}

```xml
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Body>
    <getDataSourceResponse
      xmlns="http://mastercard.com/sd/pc/service"
      xmlns:ns2="http://mastercard.com/sd/pc2/service">
      <dataSourceData>
        <dataSourceId>4272</dataSourceId>
        <dataSource>300840201 Purchase Control 2.0 Custom Financial  CF PURCHASE CONTROL 2.0</dataSource>
      </dataSourceData>
      <errorMessage
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
      </getDataSourceResponse>
    </soapenv:Body>
  </soapenv:Envelope>
```

