PUT api/contacts
Request Information
URI Parameters
None.
Body Parameters
API.Infrastructure.Dto.Contacts.ContactDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| ContactTypeId | globally unique identifier |
Required |
|
| JobTitle | string |
None. |
|
| TitleId | globally unique identifier |
None. |
|
| FirstName | string |
Required |
|
| LastName | string |
Required |
|
| Phone | string |
None. |
|
| Mobile | string |
None. |
|
| string |
Matching regular expression pattern: ^[^\s@]+@[^\s@]+\.[^\s@]{2,}$ |
||
| OrganisationId | globally unique identifier |
Required |
|
| Default | boolean |
None. |
|
| Active | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "b5069eeb-f64b-47d6-bbd9-b314a2f15c86",
"contactTypeId": "666172f7-255c-49e6-8de0-f3b867729e6d",
"jobTitle": "sample string 2",
"titleId": "a629cea5-697b-4e6b-bba9-a914ae6bf802",
"firstName": "sample string 3",
"lastName": "sample string 4",
"phone": "sample string 5",
"mobile": "sample string 6",
"email": "sample string 7",
"organisationId": "62040abb-f042-43cc-a38e-95f18dee9c2e",
"default": true,
"active": true
}
text/html
Sample:
{"id":"b5069eeb-f64b-47d6-bbd9-b314a2f15c86","contactTypeId":"666172f7-255c-49e6-8de0-f3b867729e6d","jobTitle":"sample string 2","titleId":"a629cea5-697b-4e6b-bba9-a914ae6bf802","firstName":"sample string 3","lastName":"sample string 4","phone":"sample string 5","mobile":"sample string 6","email":"sample string 7","organisationId":"62040abb-f042-43cc-a38e-95f18dee9c2e","default":true,"active":true}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.