cURL
curl --request POST \ --url http://localhost:3000/connect/v1/supply-chains/entity-cards/ \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "id": "<string>", "card": { "id": "<string>", "card_id": "<string>", "display_id": "<string>", "creator": "<string>", "updater": "<string>" }, "creator": "<string>", "updater": "<string>", "entity": "<string>" }'
{ "id": "<string>", "card": { "id": "<string>", "card_id": "<string>", "updated_on": "2023-11-07T05:31:56Z", "created_on": "2023-11-07T05:31:56Z", "display_id": "<string>", "creator": "<string>", "updater": "<string>" }, "updated_on": "2023-11-07T05:31:56Z", "created_on": "2023-11-07T05:31:56Z", "is_active": true, "creator": "<string>", "updater": "<string>", "entity": "<string>" }
This API endpoint allows you to assign a new Connect card to Farmer or a Company within the supply chain system. By sending a POST request to the specified endpoint, you can add details for a new entity card.
The response is of type object.
object