PUT v1/accountcontact/{id}
Update the account contact for the authenticated user.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
id |
Contact Kapta ID |
string |
Required. |
Body Parameters
Information about the contact.
UpdateAccountContactModelName | Description | Type | Additional Information |
---|---|---|---|
ContactID |
The Contact's unique identifier (Kapta) |
string |
Required. |
AccountID |
The Account's unique identifier (Kapta) |
string |
Required. |
Role |
Role of the contact |
Collection of string |
None. |
IsFriend |
Friend/Foe Status |
string |
None. |
ReportingPersonID |
Person the contact reports to |
string |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{ "ContactID": "sample string 1", "AccountID": "sample string 2", "Role": [ "sample string 1", "sample string 2" ], "IsFriend": "sample string 3", "ReportingPersonID": "sample string 4" }
application/xml, text/xml
Sample:
<UpdateAccountContactModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KAPTA.Domain.ViewModel.v1"> <AccountID>sample string 2</AccountID> <ContactID>sample string 1</ContactID> <IsFriend>sample string 3</IsFriend> <ReportingPersonID>sample string 4</ReportingPersonID> <Role xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Role> </UpdateAccountContactModel>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.