contacts

POST /companies/{companySlug}/contacts/{contactId}/contactPerson

Changed on

Adds a new contact person to a contact

Request

  • Base URL
    https://api.fiken.no/api/v2
  • URL
    https://api.fiken.no/api/v2/companies/{companySlug}/contacts/{contactId}/contactPerson
  • Auth
    OAuth 2
    Authorization code: https://fiken.no/oauth/authorize
    Token URL: https://fiken.no/oauth/token

Request body

contactPersonIdinteger
namestring required
emailstring required
phoneNumberstring

Example request

{
  "contactPersonId": 2747365,
  "name": "Betty Boop",
  "email": "bb@gmail.com",
  "phoneNumber": "98573564",
  "address": {
    "streetAddress": "Karl Johan 34",
    "streetAddressLine2": "H0405",
    "city": "Oslo",
    "postCode": "0550",
    "country": "Norway"
  }
}

Response

Created

Changes

    • breaking

      removed the success response with the status

    • info

      added the success response with the status

    • info

      the endpoint scheme security fiken_api_oauth was removed from the API

    • info

      added the new optional request property /

    • info

      the request property / became optional

    • info

      the request property / became optional

    • info

      the request property / became optional