• Register

RetrieveApproverCluster

This api is consumed by users to retrieve the approver group for an invoice- da Verificare - . #### Request URI
``` POST /campari.com/esb/invoiceverification/retrieveapprovercluster/v1 ```
#### Request Structure
API field Type Mandatory Description
Company
Company/Item (0..∞)
Company/Item/CompanyCode String Y Campari Company Code
BusinessUnit
BusinessUnit/Item (0..∞)
BusinessUnit/Item/ObjAbbrevation String Y Object Abbrevation -da verificare
Full String N Full -da verificare
#### Request Example
``` { "Company":{ "item":[ { "CompanyCode":"AR20" } ] }, "BusinessUnit":{ "item":[ { "ObjAbbrevation":"" } ] }, "Full":"" } ```
#### Response Structure
API field Type Description
CommonResponse
ResponseType (0..∞)
Status String Possible value are “S”, “E”
Class String RFC Table queried
Code String Response Code from the RFC Table
Message String This field is provided in case of error status and represents a description of the error
#### Response Example
``` { "CommonResponse":{ "ResponseType": [ { "Status": "S", "Class": "ZFI_SNOW", "Code": "221", "Message": "Success" } ] } } ```
#### Response Table:
Status Message Description
S In case of request processed successfully
E Error on internal Campari’s system - SAP In case of error while connecting to SAP
S Success In case of success
E No data found No data found

Docs Navigation