Getting .COOP Sponsors associated with a Customer

Description

Gets a list of system default .COOP Sponsors (Co-operative Reference) and associated Sponsor of the specified Customer.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
customer-id Integer Required The Customer for whom you want to get the list of Sponsors

HTTP Method

GET

Example Test URL Request

https://test.httpapi.com/api/contacts/sponsors.json?auth-userid=0&api-key=key&customer-id=0

Response

Returns a hash map containing a list of system default .COOP Sponsors (Co-operative Reference) and associated Sponsor of the specified Customer, alongwith the below details:

  • Company (company)

  • Name (name)

  • Email Address (emailaddr)

  • Country (country)

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.