Last updated: 2019-09-17

Source: https://support.freshservice.com/support/solutions/articles/50000000302-can-we-associate-an-asset-to-a-ticket-using-apis-

You can use the following curl command :

curl -u (credentials) -H "Content-Type:application/json"-d' {"helpdesk\_ticket": {}, “associate\_ci”: {"serial\_no'":'99RSH32","name":"SALES-SERV","user": "tom@outerspace.com"}}' -X PUT https://domain.freshservice.com/helpdesk/tickets/123.json

For further information, please refer to the documentation here: https://api.freshservice.com/#associate\_a\_ci\_to\_a\_ticket