Updates an object of type attachments 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

  • attachments_parentIdstring (uuid)required

    (v1.0) parentId for attachments

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

  • attachments_idstring (uuid)required

    (v1.0) id for attachments

    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

  • parentIdstring (uuid)

    (v1.0) The parentId property for the Dynamics 365 Business Central attachments entity

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

  • idstring (uuid)

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

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

  • fileNamestring

    (v1.0) The fileName property for the Dynamics 365 Business Central attachments entity

    Example: null

    <= 250 characters

  • byteSizeinteger (int32)

    (v1.0) The byteSize property for the Dynamics 365 Business Central attachments entity

    Example: null

  • contentstring (binary)

    (v1.0) The content property for the Dynamics 365 Business Central attachments entity

  • lastModifiedDateTimestring (date-time)

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

    Example: null

Responses

(v1.0) Succesfully updated the specifiedattachments

Body application/json

  • parentIdstring (uuid)

    (v1.0) The parentId property for the Dynamics 365 Business Central attachments entity

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

  • idstring (uuid)

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

    Example: 4g7dfc58-f21b-4ad0-8f39-463efd0gfae8

  • fileNamestring

    (v1.0) The fileName property for the Dynamics 365 Business Central attachments entity

    Example: null

    <= 250 characters

  • byteSizeinteger (int32)

    (v1.0) The byteSize property for the Dynamics 365 Business Central attachments entity

    Example: null

  • contentstring (binary)

    (v1.0) The content property for the Dynamics 365 Business Central attachments entity

  • lastModifiedDateTimestring (date-time)

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

    Example: null