{"openapi":"3.0.1","info":{"title":"Bluestone B2B Integrations","description":"Bluestone B2B Integrations API - Enables users to manage their B2B configurations such as punchout, purchase order, etc.\n <b><h1>Deprecated endpoints:</h1></b><table border=\"1px;\"><tr><th style=\"text-align: center; vertical-align: middle;\"><b><h3>Uri</b></h3></th><th><b>Method</b></th><th><b><h3>Since</h3></b></th><th><b><h3>End of life</h3></b></th></tr></table>","version":"1-apps"},"servers":[{"url":"api.test.bluestonepim.com/b2b-integrations","description":"Default Server URL"}],"tags":[{"name":"Punchout","description":"Setup punch out profile data"},{"name":"Configurations","description":"To set the configuration which will be a part of punchout profile settings."}],"paths":{"/configurations/mappings/{id}":{"get":{"tags":["Configurations"],"summary":"Get Mapping fields configuration by id.","operationId":"getMappingFieldConfig","parameters":[{"name":"id","in":"path","description":"Mapping configuration Id.","required":true,"schema":{"$ref":"#/components/schemas/ObjectId"}}],"responses":{"200":{"description":"OK\n\nGet Mapping fields configuration successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MappingFieldConfigurationResponse"}}}},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found\n\nGet Mapping fields configuration not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MappingFieldConfigurationResponse"}}}},"500":{"description":"Internal Server Error\n\nGet Mapping fields configuration error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MappingFieldConfigurationResponse"}}}}},"security":[{"oauth2":[]}]},"put":{"tags":["Configurations"],"summary":"Full update Mapping fields configuration.","operationId":"updateMappingFieldConfig","parameters":[{"name":"id","in":"path","description":"Mapping configuration Id.","required":true,"schema":{"$ref":"#/components/schemas/ObjectId"}},{"name":"validate","in":"query","description":"Validate mapping from punchout type","required":true,"schema":{"type":"boolean"},"example":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MappingFieldConfigurationRequest"}}},"required":true},"responses":{"200":{"description":"OK\n\nUpdate Mapping fields configuration successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MappingFieldConfigurationResponse"}}}},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error\n\nUpdate Mapping fields configuration error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MappingFieldConfigurationResponse"}}}}},"security":[{"oauth2":[]}]},"delete":{"tags":["Configurations"],"summary":"Remove Mapping fields configuration.","operationId":"removeMappingFieldConfig","parameters":[{"name":"id","in":"path","description":"Mapping configuration Id.","required":true,"schema":{"$ref":"#/components/schemas/ObjectId"}}],"responses":{"204":{"description":"No Content\n\nRemove Mapping fields configuration successfully"},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error\n\nRemove Mapping fields configuration error"}},"security":[{"oauth2":[]}]}},"/punchout":{"get":{"tags":["Punchout"],"summary":"To list punchout profile data in the organization.","operationId":"listPunchoutProfile","parameters":[{"name":"organization","in":"query","description":"Search by organization number (exact match, case-insensitive).","required":false,"allowEmptyValue":true,"schema":{"type":"string"}},{"name":"punchoutType","in":"query","description":"Search by Punchout type (exact match, case-insensitive).","required":false,"allowEmptyValue":true,"schema":{"type":"string"}},{"name":"customerName","in":"query","description":"Search by customer name.","required":false,"allowEmptyValue":true,"schema":{"type":"string"}},{"name":"page","in":"query","description":"Page number.","required":false,"schema":{"minimum":0,"type":"integer","format":"int32","default":0}},{"name":"pageSize","in":"query","description":"Page size.","required":false,"schema":{"maximum":100,"minimum":1,"type":"integer","format":"int32","default":10}},{"name":"sortField","in":"query","description":"Sort by field.","required":false,"schema":{"type":"string","enum":["ENABLED","NAME","ORGANIZATION","PUNCHOUT_TYPE","CUSTOMER_NAME"]}},{"name":"sortDirection","in":"query","description":"Sorting order of the field.","required":false,"schema":{"type":"string","enum":["ASC","DESC"]}}],"responses":{"200":{"description":"OK\n\nPunchout profile listed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PunchoutProfileListResponse"}}}},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"oauth2":[]}]},"post":{"tags":["Punchout"],"summary":"To create punchout profile data.","operationId":"createPunchoutProfile","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePunchoutProfileRequest"}}},"required":true},"responses":{"201":{"description":"Created\n\nSuccess create punchout profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PunchoutProfileResponse"}}}},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error\n\nFailed create punchout profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PunchoutProfileResponse"}}}}},"security":[{"oauth2":[]}]}},"/punchout/{id}/exclude-products":{"post":{"tags":["Punchout"],"summary":"To associate exclude products by sending product ids.","operationId":"associateExcludeProducts","parameters":[{"name":"id","in":"path","description":"Punchout profile Id.","required":true,"schema":{"$ref":"#/components/schemas/ObjectId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddEntitiesRequest"}}},"required":true},"responses":{"201":{"description":"Created\n\nSuccess associate exclude products."},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found\n\nPunchout profile not found."},"500":{"description":"Internal Server Error\n\nFailed associate exclude products."}},"security":[{"oauth2":[]}]},"delete":{"tags":["Punchout"],"summary":"To disassociate exclude products by sending product ids.","operationId":"dissociateExcludeProducts","parameters":[{"name":"id","in":"path","description":"Punchout profile Id.","required":true,"schema":{"$ref":"#/components/schemas/ObjectId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveEntitiesRequest"}}},"required":true},"responses":{"200":{"description":"OK\n\nSuccess disassociate exclude products."},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found\n\nPunchout profile not found."},"500":{"description":"Internal Server Error\n\nFailed disassociate exclude products."}},"security":[{"oauth2":[]}]}},"/punchout/{id}/exclude-categories":{"post":{"tags":["Punchout"],"summary":"To associate exclude products by sending category ids.","operationId":"associateExcludeCategories","parameters":[{"name":"id","in":"path","description":"Punchout profile Id.","required":true,"schema":{"$ref":"#/components/schemas/ObjectId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddEntitiesRequest"}}},"required":true},"responses":{"201":{"description":"Created\n\nSuccess associate exclude categories."},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found\n\nPunchout profile not found."},"500":{"description":"Internal Server Error\n\nFailed associate exclude categories."}},"security":[{"oauth2":[]}]},"delete":{"tags":["Punchout"],"summary":"To disassociate exclude category by sending category ids.","operationId":"dissociateExcludeCategories","parameters":[{"name":"id","in":"path","description":"Punchout profile Id.","required":true,"schema":{"$ref":"#/components/schemas/ObjectId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveEntitiesRequest"}}},"required":true},"responses":{"200":{"description":"OK\n\nSuccess disassociate exclude categories."},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found\n\nPunchout profile not found."},"500":{"description":"Internal Server Error\n\nFailed disassociate exclude categories."}},"security":[{"oauth2":[]}]}},"/configurations/punchout-types":{"get":{"tags":["Configurations"],"summary":"List Punchout type configuration.","operationId":"listPunchoutTypeConfig","responses":{"200":{"description":"OK\n\nList Punchout type configuration successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PunchoutTypeConfigurationResponse"}}}},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error\n\nList Punchout type configuration error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PunchoutTypeConfigurationResponse"}}}}},"security":[{"oauth2":[]}]}},"/configurations/organizations":{"get":{"tags":["Configurations"],"summary":"List organization configuration.","operationId":"listOrganizationConfig","responses":{"200":{"description":"OK\n\nList organization configuration successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationConfigurationResponse"}}}},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error\n\nList organization configuration error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationConfigurationResponse"}}}}},"security":[{"oauth2":[]}]}},"/configurations/mappings":{"get":{"tags":["Configurations"],"summary":"List Mapping fields configuration.","operationId":"listMappingFieldConfig","responses":{"200":{"description":"OK\n\nList Mapping fields configuration successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListMappingFieldConfigurationResponse"}}}},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error\n\nList Mapping fields configuration error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListMappingFieldConfigurationResponse"}}}}},"security":[{"oauth2":[]}]},"post":{"tags":["Configurations"],"summary":"Add Mapping fields configuration.","operationId":"createMappingFieldConfig","parameters":[{"name":"validate","in":"query","description":"Validate mapping from punchout type","required":true,"schema":{"type":"boolean"},"example":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MappingFieldConfigurationRequest"}}},"required":true},"responses":{"201":{"description":"Created\n\nAdd Mapping fields configuration successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MappingFieldConfigurationResponse"}}}},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error\n\nAdd Mapping fields configuration error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MappingFieldConfigurationResponse"}}}}},"security":[{"oauth2":[]}]}},"/punchout/{id}":{"get":{"tags":["Punchout"],"summary":"To get the specific punchout profile by id.","operationId":"getPunchoutProfile","parameters":[{"name":"id","in":"path","description":"Punchout profile Id.","required":true,"schema":{"$ref":"#/components/schemas/ObjectId"}}],"responses":{"200":{"description":"OK\n\nPunchout profile described.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PunchoutProfileResponse"}}}},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found\n\nPunchout profile not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PunchoutProfileResponse"}}}}},"security":[{"oauth2":[]}]},"delete":{"tags":["Punchout"],"summary":"To Delete punchout profile data by specifying the id.","operationId":"deletePunchoutProfile","parameters":[{"name":"id","in":"path","description":"Punchout profile Id.","required":true,"schema":{"$ref":"#/components/schemas/ObjectId"}}],"responses":{"200":{"description":"OK\n\nPunchout profile deleted."},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found\n\nPunchout profile not found."},"500":{"description":"Internal Server Error\n\nDelete punchout profile failed."}},"security":[{"oauth2":[]}]},"patch":{"tags":["Punchout"],"summary":"To update the punchout profile data.","operationId":"updatePunchoutProfile","parameters":[{"name":"id","in":"path","description":"Punchout profile Id.","required":true,"schema":{"$ref":"#/components/schemas/ObjectId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BasePunchoutProfileRequest"}}},"required":true},"responses":{"200":{"description":"OK\n\nSuccess partial update punchout profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PunchoutProfileResponse"}}}},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found\n\nPunchout profile not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PunchoutProfileResponse"}}}},"500":{"description":"Internal Server Error\n\nFailed partial update punchout profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PunchoutProfileResponse"}}}}},"security":[{"oauth2":[]}]}}},"components":{"schemas":{"ObjectId":{"type":"string"},"MappingFieldConfigurationRequest":{"required":["mappings","name","type"],"type":"object","properties":{"name":{"title":"Mapping field configuration name.","minLength":1,"type":"string"},"type":{"title":"Punchout type for this mapping field configuration.","type":"string","enum":["OCI","BIS3_EHF","BIS3_PEPPOL"]},"mappings":{"title":"List of mapping field settings.","type":"array","items":{"$ref":"#/components/schemas/MappingFieldSetting"}}}},"MappingFieldSetting":{"type":"object","properties":{"value":{"title":"Mapping field fallback value if cannot get data from basket Json.","type":"string"},"from":{"title":"Basket Json path to retrieve the value. See the expression at https://jmespath.org/.","type":"string"},"format":{"title":"Regex string to format the data after retrieve value from basket.","type":"string"},"to":{"title":"Punchout standard field to map with the basket data.","type":"string"}}},"MappingFieldConfigurationResponse":{"type":"object","properties":{"createdAt":{"type":"string"},"createdBy":{"type":"string"},"modifiedAt":{"type":"string"},"modifiedBy":{"type":"string"},"id":{"title":"Mapping field configuration ID.","type":"string"},"name":{"title":"Mapping field configuration name.","type":"string"},"type":{"title":"Punchout type for this mapping field configuration.","type":"string"},"mappings":{"title":"List of mapping field settings.","type":"array","items":{"$ref":"#/components/schemas/MappingFieldSetting"}}}},"CreatePunchoutProfileRequest":{"required":["mappingConfigId","name","organization","punchoutType"],"type":"object","properties":{"enabled":{"title":"Enable.","type":"boolean","default":false},"name":{"title":"Punchout name.","minLength":1,"type":"string"},"description":{"title":"Punchout description.","type":"string"},"organization":{"title":"Organization number.","minLength":1,"type":"string"},"mappingConfigId":{"title":"Field mapping configuration Id.","type":"string"},"punchoutType":{"title":"Punchout type.","minLength":1,"type":"string"},"customerId":{"title":"Customer Id.","type":"string"},"customerName":{"title":"Customer name.","type":"string"},"customerOrganizationNumber":{"title":"Customer organization number.","type":"string"},"username":{"title":"Punchout username.","type":"string"},"password":{"title":"Punchout password.","type":"string"},"basicAuthUsername":{"title":"Basic auth username.","type":"string"},"basicAuthPassword":{"title":"Basic auth password.","type":"string"},"ipWhiteList":{"title":"Whitelist IPs (comma separated, range).","type":"string"}}},"PunchoutCategory":{"title":"List of exclude categories.","type":"object","properties":{"id":{"title":"Category Id.","type":"string"},"name":{"title":"Category name.","type":"string"}}},"PunchoutProduct":{"title":"List of exclude product.","type":"object","properties":{"id":{"title":"Product Id.","type":"string"},"name":{"title":"Product name.","type":"string"},"number":{"title":"Product number.","type":"string"}}},"PunchoutProfileResponse":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"createdBy":{"type":"string"},"modifiedAt":{"type":"string"},"modifiedBy":{"type":"string"},"enabled":{"title":"Enable.","type":"boolean"},"name":{"title":"Punchout name.","type":"string"},"description":{"title":"Punchout description.","type":"string"},"organization":{"title":"Organization number.","type":"string"},"mappingConfigId":{"title":"Field Mapping configuration Id.","type":"string"},"punchoutType":{"title":"Punchout type.","type":"string"},"customerId":{"title":"Customer Id.","type":"string"},"customerName":{"title":"Customer name.","type":"string"},"customerOrganizationNumber":{"title":"Customer organization number.","type":"string"},"username":{"title":"Punchout username.","type":"string"},"password":{"title":"Punchout password.","type":"string"},"basicAuthUsername":{"title":"Basic auth username.","type":"string"},"basicAuthPassword":{"title":"Basic auth password.","type":"string"},"ipWhiteList":{"title":"Whitelist IPs (comma separated, range).","type":"string"},"excludeProducts":{"title":"List of exclude product.","type":"array","items":{"$ref":"#/components/schemas/PunchoutProduct"}},"excludeCategories":{"title":"List of exclude categories.","type":"array","items":{"$ref":"#/components/schemas/PunchoutCategory"}}}},"AddEntitiesRequest":{"required":["ids"],"type":"object","properties":{"ids":{"maxItems":100,"minItems":1,"type":"array","items":{"type":"string"}}}},"PunchoutTypeFieldSetting":{"title":"List of punchout type field settings.","required":["name","type"],"type":"object","properties":{"type":{"title":"Punchout standard type","type":"string","enum":["OCI","BIS3_EHF","BIS3_PEPPOL"]},"name":{"title":"Punchout standard name","minLength":1,"type":"string"},"customizationId":{"title":"Punchout BIS3 xml customization id","type":"string"},"profileId":{"title":"Punchout BIS3 xml profile id","type":"string"}}},"PunchoutTypeConfigurationResponse":{"type":"object","properties":{"createdAt":{"type":"string"},"createdBy":{"type":"string"},"modifiedAt":{"type":"string"},"modifiedBy":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PunchoutTypeFieldSetting"}}}},"OrganizationFieldSetting":{"title":"List of organization field settings.","required":["name","number"],"type":"object","properties":{"name":{"title":"Organization field name.","minLength":1,"type":"string"},"number":{"title":"Organization unique number.","minLength":1,"type":"string"},"peppolEndPointSchemaId":{"title":"PEPPOL endpoint schema id.","type":"string"},"peppolEndPointId":{"title":"PEPPOL endpoint id","type":"string"}}},"OrganizationConfigurationResponse":{"type":"object","properties":{"createdAt":{"type":"string"},"createdBy":{"type":"string"},"modifiedAt":{"type":"string"},"modifiedBy":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationFieldSetting"}}}},"BasePunchoutProfileRequest":{"type":"object","properties":{"enabled":{"title":"Enable.","type":"boolean","default":false},"name":{"title":"Punchout name. (not allow empty)","type":"string"},"description":{"title":"Punchout description.","type":"string"},"organization":{"title":"Organization number. (not allow empty)","type":"string"},"mappingConfigId":{"title":"Field mapping configuration id. (not allow empty)","type":"string"},"punchoutType":{"title":"Punchout type. (not allow empty)","type":"string"},"customerId":{"title":"Customer Id.","type":"string"},"customerName":{"title":"Customer name.","type":"string"},"customerOrganizationNumber":{"title":"Customer organization number.","type":"string"},"username":{"title":"Punchout username.","type":"string"},"password":{"title":"Punchout password.","type":"string"},"basicAuthUsername":{"title":"Basic auth username.","type":"string"},"basicAuthPassword":{"title":"Basic auth password.","type":"string"},"ipWhiteList":{"title":"Whitelist IPs (comma separated, range).","type":"string"}}},"PunchoutProfileListResponse":{"type":"object","properties":{"data":{"title":"List of punchout configuration.","type":"array","items":{"$ref":"#/components/schemas/PunchoutProfileResponse"}},"total":{"title":"Total number of punchout configuration.","type":"integer","format":"int64"}}},"ListMappingFieldConfigurationResponse":{"type":"object","properties":{"data":{"title":"List of punchout mapping field configurations.","type":"array","items":{"$ref":"#/components/schemas/MappingFieldConfigurationResponse"}}}},"RemoveEntitiesRequest":{"required":["ids"],"type":"object","properties":{"ids":{"maxItems":100,"minItems":1,"type":"array","items":{"type":"string"}}}},"ErrorResponse":{"type":"object","properties":{"status":{"title":"Error status code.","type":"integer","format":"int32"},"error":{"title":"General error description.","type":"string"},"errorDetails":{"title":"List of errors details.","type":"array","items":{"$ref":"#/components/schemas/ErrorDetails"}},"requestId":{"title":"Request ID used for logging.","type":"string"},"timestamp":{"title":"Error timestamp.","type":"integer","format":"int64"}}},"ErrorDetails":{"type":"object","properties":{"message":{"title":"Error message.","type":"string"},"field":{"title":"Error related field.","type":"string"},"rejectedValue":{"title":"Invalid value causing error.","type":"string"}}}},"securitySchemes":{"oauth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://idp.test.bluestonepim.com/op/token","scopes":{"openid profile systemRoles permissions organization email name nickname":"All needed scopes."}}}}}},"x-amazon-apigateway-api-key-source":"AUTHORIZER"}