Updates an object of type paymentTerm in Dynamics 365 Business Central

Request

Security

  • oAuthoauth2 (OAuth 2.0)
  • OAuth2oauth2 (OAuth 2.0)

Path

  • company_idstring (uuid)required

    (v1.0) id for company

    Example: e942a270-62d2-4aef-aa48-6fe3ef9e53e1

  • paymentTerm_idstring (uuid)required

    (v1.0) id for paymentTerm

    Example: e942a270-62d2-4aef-aa48-6fe3ef9e53e1

Headers

  • Content-Typestringrequired

    (v1.0) application/json

  • If-Matchstringrequired

    (v1.0) Required. When this request header is included and the eTag provided does not match the current tag on the entity, this will not be updated.

    Example: true

Body application/json required

  • idstring (uuid)

    (v1.0) The id property for the Dynamics 365 Business Central paymentTerm entity

    Example: 2a2dfc50-f21b-4ab0-8f89-463efd0dfce4

  • codestring

    (v1.0) The code property for the Dynamics 365 Business Central paymentTerm entity

    Example:

    <= 10 characters

  • displayNamestring

    (v1.0) The displayName property for the Dynamics 365 Business Central paymentTerm entity

    Example: null

    <= 100 characters

  • dueDateCalculationstring

    (v1.0) The dueDateCalculation property for the Dynamics 365 Business Central paymentTerm entity

    Example: null

  • discountDateCalculationstring

    (v1.0) The discountDateCalculation property for the Dynamics 365 Business Central paymentTerm entity

    Example: null

  • discountPercentnumber (decimal)

    (v1.0) The discountPercent property for the Dynamics 365 Business Central paymentTerm entity

    Example: null

  • calculateDiscountOnCreditMemosboolean

    (v1.0) The calculateDiscountOnCreditMemos property for the Dynamics 365 Business Central paymentTerm entity

    Example: null

  • lastModifiedDateTimestring (date-time)

    (v1.0) The lastModifiedDateTime property for the Dynamics 365 Business Central paymentTerm entity

    Example: null

Responses

(v1.0) Succesfully updated the specifiedpaymentTerm

Body application/json

  • idstring (uuid)

    (v1.0) The id property for the Dynamics 365 Business Central paymentTerm entity

    Example: 2a2dfc50-f21b-4ab0-8f89-463efd0dfce4

  • codestring

    (v1.0) The code property for the Dynamics 365 Business Central paymentTerm entity

    Example: JKHB9XER3

    <= 10 characters

  • displayNamestring

    (v1.0) The displayName property for the Dynamics 365 Business Central paymentTerm entity

    Example: null

    <= 100 characters

  • dueDateCalculationstring

    (v1.0) The dueDateCalculation property for the Dynamics 365 Business Central paymentTerm entity

    Example: null

  • discountDateCalculationstring

    (v1.0) The discountDateCalculation property for the Dynamics 365 Business Central paymentTerm entity

    Example: null

  • discountPercentnumber (decimal)

    (v1.0) The discountPercent property for the Dynamics 365 Business Central paymentTerm entity

    Example: null

  • calculateDiscountOnCreditMemosboolean

    (v1.0) The calculateDiscountOnCreditMemos property for the Dynamics 365 Business Central paymentTerm entity

    Example: null

  • lastModifiedDateTimestring (date-time)

    (v1.0) The lastModifiedDateTime property for the Dynamics 365 Business Central paymentTerm entity

    Example: null