GET contactperson/{clientId}

Get a collection of client contact persons.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientId

The id of the client.

integer

Required

Body Parameters

None.

Response Information

Resource Description

ClientDetailsContactPersonViewModel[], containing information about the client's contact persons.

Collection of FiscaalGemak.Core.Models.ViewModels.ClientDetailsContactPersonViewModel
NameDescriptionTypeAdditional information
AuthenticationType

FiscaalGemak.Core.Models.Enums.AuthenticationType

Required

ClientId

integer

None.

CompanyRole

string

Max length: 128

EmailAddress

string

String length: inclusive between 0 and 128

FirstName

string

String length: inclusive between 0 and 80

FooterText

string

None.

FullName

string

None.

HasCommunicationApprovalAccess

boolean

None.

HasCommunicationViewAccess

boolean

None.

IsMainContactPerson

boolean

None.

Id

integer

None.

Initials

string

String length: inclusive between 0 and 50

Prefix

string

String length: inclusive between 0 and 50

Salutation

FiscaalGemak.Core.Models.Enums.Salutation

None.

SalutationCustom

string

String length: inclusive between 0 and 50

SalutationAlternative

string

String length: inclusive between 0 and 255

Surname

string

String length: inclusive between 0 and 128

TelephoneNumber

string

Matching regular expression pattern: ^(\+)?[0-9 \-]{0,15}

String length: inclusive between 10 and 14

SimpleDeclarationTypes

Collection of Gemak.Core.Enums.SimpleDeclarationType

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AuthenticationType": 0,
    "ClientId": 1,
    "CompanyRole": "sample string 1",
    "EmailAddress": "sample string 2",
    "FirstName": "sample string 3",
    "FooterText": "sample string 4",
    "FullName": "sample string 9 sample string 10 sample string 13",
    "HasCommunicationApprovalAccess": true,
    "HasCommunicationViewAccess": true,
    "IsMainContactPerson": true,
    "Id": 8,
    "Initials": "sample string 9",
    "Prefix": "sample string 10",
    "Salutation": 0,
    "SalutationCustom": "sample string 11",
    "SalutationAlternative": "sample string 12",
    "Surname": "sample string 13",
    "TelephoneNumber": "sample string 14",
    "SimpleDeclarationTypes": [
      0,
      0
    ]
  },
  {
    "AuthenticationType": 0,
    "ClientId": 1,
    "CompanyRole": "sample string 1",
    "EmailAddress": "sample string 2",
    "FirstName": "sample string 3",
    "FooterText": "sample string 4",
    "FullName": "sample string 9 sample string 10 sample string 13",
    "HasCommunicationApprovalAccess": true,
    "HasCommunicationViewAccess": true,
    "IsMainContactPerson": true,
    "Id": 8,
    "Initials": "sample string 9",
    "Prefix": "sample string 10",
    "Salutation": 0,
    "SalutationCustom": "sample string 11",
    "SalutationAlternative": "sample string 12",
    "Surname": "sample string 13",
    "TelephoneNumber": "sample string 14",
    "SimpleDeclarationTypes": [
      0,
      0
    ]
  }
]