---
id: getintegrationids
title: Get IntegrationIds
hide_title: true
description: "Receive the current integration ids"
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import Flag from '../../../../../src/components/flag/flag';
import Ingress from '../../../../../src/components/ingress/ingress.react';

<Ingress title="Get IntegrationIds">
This functionality returns a list of IntegrationId's that exists for a customer.
</Ingress>

## Parameters

| Field         | min Occurs | nillable | Max | Type   | Description                                            |
| :------------ | :--------- | :------- | :-- | :----- | :----------------------------------------------------- |
| Username      | 1          | false    | 50  | string | The username used to authorize the request.            |
| Password      | 1          | false    | 50  | string | The password used to authorize the request.            |
| CorrelationId | 1          | true     | 50  | string | CorrelationID is sent back in the response.            |
| CountryCode   | 1          | false    | 2   | string | The country code (ISO 3166-1 alpha-2) for the country. |
| RegNo         | 1          | false    | 20  | string | The registration number.                               |
| StoreId       | 1          | true     | 4   | int    | The StoreId used for identification of store.          |

## Response

| Field          | min Occurs | nillable | Max | Type                                                           | Description                            |
| :------------- | :--------- | :------- | :-- | :------------------------------------------------------------- | :------------------------------------- |
| CorrelationId  | 1          | true     | 50  | string                                                         | CorrelationID from the request if any. |
| IntegrationIds | 1          | true     | -   | [IntegrationIds[]](../../commoninformation.mdx#integrationids) | List of IntegrationIds.                |

### Example Requests

| &nbsp;       | Value                                                               |
| :----------- | :------------------------------------------------------------------ |
| Environment: | UAT                                                                 |
| Service:     | PaymentService                                                      |
| URL:         | https://ecommercetest.collector.se/v3.0/PaymentServiceV10.svc?wsdl  |
| Function:    | GetIntegrationIds                                                   |
| Description: | The operation fetchs all IntegrationId's for the specified customer |
| Notes:       | N/A                                                                 |

<Tabs defaultValue="reqB2C" values={[
{ label: 'B2C Request', value: 'reqB2C', },
{ label: 'B2C Response', value: 'resB2C', }]}>
<TabItem value="reqB2C">

```xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pay="http://schemas.ecommerce.collector.se/v30/PaymentService">
   <soapenv:Header>
      <pay:Username>USERNAME</pay:Username>
      <pay:Password>PASSWORD</pay:Password>
   </soapenv:Header>
   <soapenv:Body>
       <pay:GetIntegrationIdsRequest>
         <pay:CorrelationId>0306c939-ec7c-4746-99a6-32c7acf69d3c</pay:CorrelationId>
         <pay:CountryCode>SE</pay:CountryCode>
         <pay:RegNo>195001182046 </pay:RegNo>
           <pay:StoreId>1234</pay:StoreId>
      </pay:GetIntegrationIdsRequest>
   </soapenv:Body>
</soapenv:Envelope>

```

</TabItem>
<TabItem value="resB2C">

```xml

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <GetIntegrationIdsResponse xmlns="http://schemas.ecommerce.collector.se/v30/PaymentService">
         <CorrelationId>0306c939-ec7c-4746-99a6-32c7acf69d3c</CorrelationId>
         <IntegrationIds xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <IntegrationResponse>
               <IntegrationId>ID_123456</IntegrationId>
               <IntegrationIdDescription>Integration ID description</IntegrationIdDescription>
            </IntegrationResponse>
         </IntegrationIds>
      </GetIntegrationIdsResponse>
   </s:Body>
</s:Envelope>

```

</TabItem>
</Tabs>

## Error codes

Please see separate page [Error Codes](/docs/paymentsApi/integration/error-codes)

| Fault Code | Description |
| :--------- | :---------- |

