Contracts - Protected

Create Contract Commission

Changed on

Add a commission distribution to a contract.

Maximum 6 distributions per contract.

post/api/contracts/{contract_id}/commissions

Request

  • Base URL
    https://api.multigest.pt (the document declares no server; this is the origin it was published from)
  • URL
    https://api.multigest.pt/api/contracts/{contract_id}/commissions
  • Auth
    API key in header x-api-token and API key in header x-origin-verify

Path parameters

contract_idinteger required

Headers

x-api-tokenstring nullable

Request body

user_idinteger required

Salesperson user ID (Z_Users.id)

Response

Successful Response

IDinteger required
contract_idinteger required
user_idinteger required
user_namestring nullable

Salesperson full name

valor_absolutostring required
valor_percentualstring required
calculated_valuestring nullable

Calculated commission amount

Changes

    • info

      removed the pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ from the request property /

    • info

      removed the pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ from the request property /

    • info

      the / response's property pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ was removed for the status

    • info

      the response's property pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ was removed for the status

    • info

      the response's property pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ was removed for the status