BPAPI Methods

BPAPI method Customer/Represent

Customer/Represent

Marks the customer identified by the credentials used for authorization as representative of the customer identified by {id}

Authorization required: Yes

HTTP methods allowed: GET

Syntax: Customer/{id}/Represent/  Details 

Marks the customer identified by the credentials used for authorization as representative of the customer identified by {id}

This method is useful in a support-setting when the support representative needs to access data for a specific customer over a set period of time.

All further access towards BPAPI with the same credentials used for authorization will behave as if it was done by the customer represented.
The parameter {id} is optional. If not given any current representation for customer identified by the credentials used will terminate.

(It is also possible to terminate the representation by setting as no-longer-current the actual "customer_to_represent"-property for the customer identified by the credentials used)

{id} must be a bpapi_customer_id

Returns information about the customer being represented (corresponding to method Summary). The property "represented_by_customer" will be set and
will contain the bpapi_customer_id of the customer identified by the credentials used



Unit-tests: 1 test(s)

Popularity: 62118 (number of times method has been accessed)

Documentation and tests automatically generated from source-code 2020-07-08 11:31