Using Reference Id

MiniCRM API is able to receive Reference Id for projects.

Endpoint: https://SystemId:ApiKey@r3.minicrm.hu/Api/SyncFeed/SystemId/SetReferenceId

You have to create a JSON array, the key must be ProjectId and the value must be ReferenceId. That array has to be sent in the References variable with POST method by authenticating with API key.

Example: $ curl http://SystemId:ApiKey@r3.minicrm.hu/Api/SyncFeed/SystemId/SetReferenceId —data ‘References={“12”:123456788,”13”:123456789}’

The command above sets the received ReferenceId for the 12 & 13 MiniCRM Id projects.

In Json arrays, the key has to be a string (value could be a number). Php json_encode returns an output that is accepted by API.