Resource
https://my.goana.net/api/v1.0/contacts
GET
Retrieves a list of Contacts
GET/{reference}
Gets a single Contacts with the given reference
POST
Creates or updates a Contact. Can receive a List of Contacts
Returns, a ResultObject for each provided Contact.
Parameters
Parameter |
Description |
?updateExisting=true |
If updateExisting = true, then the POST action will update the contact if it exists. Otherwise it will fail. Default is updateExisting=false. |
Example
POST https://my.goana.net/api/v1.0/contacts?updateExisting=true CONTENT [ { "Reference": "REF1", "LanguageCode": "fr", "Team": "Zürich", "Salutation": "Frau", "CompanyName": "Exodoc", "FirstName": "Wilson", "Name": "Vazquez", "Role": "", "Remarks": "Amet fugiat sint aliqua ad cupidatat elit ut commodo. Ad mollit minim pariatur anim dolor veniam fugiat eu labore duis cillum laborum. Irure esse amet et sint veniam occaecat deserunt exercitation. Ea aliqua est sit pariatur ea ea. Aute nulla tempor sunt qui do ex commodo voluptate. Minim duis do irure enim. Eiusmod veniam eu esse consequat deserunt excepteur consectetur esse irure consequat.\r\n", "Location": { "Street": "Johnson Street", "StreetNumber": 40, "Zip": 7706, "City": "Homeworth", "CountryIsoCode": "CH" }, "ContactDetails": [ { "Name": "Home", "Type": "Email", "Value": "wilsonvazquez@exodoc.com" }, { "Type": "Phone", "Value": "(918) 413-3692" } ], "Tags": [ "Customer" ] }, { "Reference": "REF2", "LanguageCode": "en", "Team": "", "Salutation": "Frau", "CompanyName": "Corepan", "FirstName": "Maribel", "Name": "Smith", "Role": "", "Remarks": "Nulla consequat Lorem occaecat adipisicing ullamco veniam reprehenderit aute. Ipsum esse duis qui laboris officia. Irure sint cupidatat officia aliquip non ea deserunt excepteur magna magna non dolore ad commodo. Ut laborum fugiat id minim laboris commodo duis aliqua cillum elit minim. Pariatur ut enim aute non aliqua aliqua dolor ipsum commodo aliqua do amet. Nostrud sit dolore non incididunt officia nisi eu elit proident irure ad.\r\n", "Location": { "Street": "Tudor Terrace", "StreetNumber": 21, "Zip": 4873, "City": "Wollochet", "CountryIsoCode": "AT" }, "ContactDetails": [ { "Name": "Privat", "Type": "Email", "Value": "maribelsmith@corepan.com" }, { "Type": "Phone", "Value": "(981) 400-3944" } ], "Tags": [ "Customer" ] } ]
PUT
Updates an existing Contact. Can receive a List of Contacts
Returns, a ResultObject for each provided Contact.
DELETE/{reference}
Deletes a Contact.
Returns, a ResultObject.
Example
DELETE https://my.goana.net/api/v1.0/contacts/REF2