Related Documents
Document Properties
Kbid27649N
Last Modified23-Jun-2020
Added to KB29-Jun-2016
Public AccessEveryone
StatusOnline
Doc TypeReferences
Product
  • ICM 7.8
  • ICM 7.9
  • ICM 7.10

REST API - Punchout - Get Punchout configuration


Note

Starting with 7.10 our REST API is documented using Redoc accessible at docs.intershop.com.

URI

/customers/<customer-id>/punchouts/<punchout-id>/configurations

Http Method

GET

Short Description

Returns the Punchout related customer specific configurations

Query Parameters

none

Example Requests

/customers/AgroNet/punchouts/oci/configurations

HTTP Status Codes

200 OK

401 Unauthorized

403 Forbidden

Description

Returns the customer specific configuration for the selected Punchout standard. The authenticated user must have the permission APP_B2B_MANAGE_PUNCHOUT.

Cartridge

app_sf_rest_b2b
ApplicationSMB Web Shop

Product Version

7.8

Product To Version

 
Status

final

JSON

Request data format

Request related java object

n/a

Request data example

n/a

Response data format

application/json

Response related java object

com.intershop.application.storefront.rest.b2b.capi.punchout.resource.PunchoutConfigurationListResource
com.intershop.application.storefront.rest.b2b.capi.punchout.handler.PunchoutConfigurationHandler
com.intershop.application.storefront.rest.b2b.capi.punchout.resourceobject.PunchoutConfigurationRO
com.intershop.application.storefront.rest.b2b.capi.punchout.resourceobject.PunchoutConfigurationItemRO
com.intershop.component.rest.capi.resourceobject.LinkRO
com.intershop.component.rest.capi.resourceobject.ResourceCollectionRO<LinkRO>

Response data example

{
  "type": "PunchoutConfiguration",
  "items": [
    {
      "type": "PunchoutConfigurationItem",
      "field": "NEW_ITEM-UNIT",
      "transform": "box",
      "formatter": ""
    },
    {
      "type": "PunchoutConfigurationItem",
      "field": "NEW_ITEM-VENDOR",
      "transform": "",
      "formatter": ""
    },
    {
      "type": "PunchoutConfigurationItem",
      "field": "NEW_ITEM-MATGROUP",
      "transform": "{ManufacturerName}",
      "formatter": "UpperCase"
    },
    {
      "type": "PunchoutConfigurationItem",
      "field": "NEW_ITEM-CONTRACT",
      "transform": "",
      "formatter": ""
    },
    {
      "type": "PunchoutConfigurationItem",
      "field": "NEW_ITEM-CONTRACT_ITEM",
      "transform": "",
      "formatter": ""
    },
    {
      "type": "PunchoutConfigurationItem",
      "field": "NEW_ITEM-CUST_FIELD1",
      "transform": "",
      "formatter": ""
    },
    {
      "type": "PunchoutConfigurationItem",
      "field": "NEW_ITEM-CUST_FIELD2",
      "transform": "",
      "formatter": ""
    },
    {
      "type": "PunchoutConfigurationItem",
      "field": "NEW_ITEM-CUST_FIELD3",
      "transform": "",
      "formatter": ""
    },
    {
      "type": "PunchoutConfigurationItem",
      "field": "NEW_ITEM-CUST_FIELD4",
      "transform": "",
      "formatter": ""
    },
    {
      "type": "PunchoutConfigurationItem",
      "field": "NEW_ITEM-CUST_FIELD5",
      "transform": "",
      "formatter": ""
    }
  ]
}

XML

Request data format

Request related java object

n/a

Request data example

n/a

Response data format

text/xml

Response related java object

com.intershop.application.storefront.rest.b2b.capi.punchout.resource.PunchoutConfigurationListResource
com.intershop.application.storefront.rest.b2b.capi.punchout.handler.PunchoutConfigurationHandler
com.intershop.application.storefront.rest.b2b.capi.punchout.resourceobject.PunchoutConfigurationRO
com.intershop.application.storefront.rest.b2b.capi.punchout.resourceobject.PunchoutConfigurationItemRO
com.intershop.component.rest.capi.resourceobject.LinkRO
com.intershop.component.rest.capi.resourceobject.ResourceCollectionRO<LinkRO>

Response data example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<PunchoutConfiguration type="PunchoutConfiguration">
    <items>
        <PunchoutConfigurationItem type="PunchoutConfigurationItem">
            <field>NEW_ITEM-UNIT</field>
            <formatter></formatter>
            <transform>box</transform>
        </PunchoutConfigurationItem>
        <PunchoutConfigurationItem type="PunchoutConfigurationItem">
            <field>NEW_ITEM-VENDOR</field>
            <formatter></formatter>
            <transform></transform>
        </PunchoutConfigurationItem>
        <PunchoutConfigurationItem type="PunchoutConfigurationItem">
            <field>NEW_ITEM-MATGROUP</field>
            <formatter>UpperCase</formatter>
            <transform>{ManufacturerName}</transform>
        </PunchoutConfigurationItem>
        <PunchoutConfigurationItem type="PunchoutConfigurationItem">
            <field>NEW_ITEM-CONTRACT</field>
            <formatter></formatter>
            <transform></transform>
        </PunchoutConfigurationItem>
        <PunchoutConfigurationItem type="PunchoutConfigurationItem">
            <field>NEW_ITEM-CONTRACT_ITEM</field>
            <formatter></formatter>
            <transform></transform>
        </PunchoutConfigurationItem>
        <PunchoutConfigurationItem type="PunchoutConfigurationItem">
            <field>NEW_ITEM-CUST_FIELD1</field>
            <formatter></formatter>
            <transform></transform>
        </PunchoutConfigurationItem>
        <PunchoutConfigurationItem type="PunchoutConfigurationItem">
            <field>NEW_ITEM-CUST_FIELD2</field>
            <formatter></formatter>
            <transform></transform>
        </PunchoutConfigurationItem>
        <PunchoutConfigurationItem type="PunchoutConfigurationItem">
            <field>NEW_ITEM-CUST_FIELD3</field>
            <formatter></formatter>
            <transform></transform>
        </PunchoutConfigurationItem>
        <PunchoutConfigurationItem type="PunchoutConfigurationItem">
            <field>NEW_ITEM-CUST_FIELD4</field>
            <formatter></formatter>
            <transform></transform>
        </PunchoutConfigurationItem>
        <PunchoutConfigurationItem type="PunchoutConfigurationItem">
            <field>NEW_ITEM-CUST_FIELD5</field>
            <formatter></formatter>
            <transform></transform>
        </PunchoutConfigurationItem>
    </items>
</PunchoutConfiguration>

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Support Tickets