PUT client-contactperson
Update an existing contact person in Fiscaal Gemak.
Request Information
URI Parameters
None.
Body Parameters
The ClientViewModel, containing information about the client.
FiscaalGemak.Web.Api.Models.Models.ClientContactPersonViewModelName | Description | Type | Additional information |
---|---|---|---|
ClientId |
Gets or sets the Id of the clientid. |
integer |
None. |
ContactPersonId |
Gets or sets the Id of the contact person. |
integer |
None. |
HasCommunicationViewAccess |
Gets or sets a value indicating whether the contactperson HasCommunicationViewAccess. |
boolean |
Required |
HasCommunicationApprovalAccess |
Gets or sets a value indicating whether the contactperson HasCommunicationApprovalAccess. |
boolean |
Required |
Function |
Gets or sets the function of the contact person. |
string |
String length: inclusive between 0 and 128 |
IsMainContactPerson |
Gets or sets a value indicating whether gets or sets the contactperson as main contact. |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ClientId": 1, "ContactPersonId": 2, "HasCommunicationViewAccess": true, "HasCommunicationApprovalAccess": true, "Function": "sample string 5", "IsMainContactPerson": true }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The updated ClientViewModel, containing information about the client.
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.