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.ClientContactPersonViewModel
NameDescriptionTypeAdditional information
ClientId

integer

None.

ContactPersonId

integer

None.

HasCommunicationViewAccess

boolean

Required

HasCommunicationApprovalAccess

boolean

Required

Function

string

String length: inclusive between 0 and 128

Request Formats

application/json, text/json

Sample:
{
  "ClientId": 1,
  "ContactPersonId": 2,
  "HasCommunicationViewAccess": true,
  "HasCommunicationApprovalAccess": true,
  "Function": "sample string 5"
}

application/xml, text/xml

Sample:
<ClientContactPersonViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FiscaalGemak.Web.Api.Models.Models">
  <ClientId>1</ClientId>
  <ContactPersonId>2</ContactPersonId>
  <Function>sample string 5</Function>
  <HasCommunicationApprovalAccess>true</HasCommunicationApprovalAccess>
  <HasCommunicationViewAccess>true</HasCommunicationViewAccess>
</ClientContactPersonViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The updated ClientViewModel, containing information about the client.

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.