Contracts - Protected

Update Contract Commission

Changed on

Update a commission distribution.

put/api/contracts/{contract_id}/commissions/{commission_id}

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/{commission_id}
  • Auth
    API key in header x-api-token and API key in header x-origin-verify

Path parameters

contract_idinteger required
commission_idinteger required

Headers

x-api-tokenstring nullable

Request body

user_idinteger nullable

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