Document

Adds the BDMS.Models.Document to the BDMS.Models.Borehole by BDMS.Models.Document.BoreholeId.

Changed on
post/api/v{version}/document

Request

  • The document declares no server URL.
  • Auth
    OpenIdConnect (defined in the document in a form this page cannot read)

Path parameters

versionstring required

Request body

idinteger required
boreholeIdinteger required

Gets or sets the BDMS.Models.Document.Borehole id.

urlstring uri

Gets or sets the BDMS.Models.Document's url.

descriptionstring nullable

Gets or sets the BDMS.Models.Document's description.

publicboolean

Gets or sets whether the BDMS.Models.Document is publicly visible.

createdByIdinteger nullable
createdstring date-time nullable
updatedByIdinteger nullable
updatedstring date-time nullable

Response

OK

idinteger required
boreholeIdinteger required

Gets or sets the BDMS.Models.Document.Borehole id.

urlstring uri

Gets or sets the BDMS.Models.Document's url.

descriptionstring nullable

Gets or sets the BDMS.Models.Document's description.

publicboolean

Gets or sets whether the BDMS.Models.Document is publicly visible.

createdByIdinteger nullable
createdstring date-time nullable
updatedByIdinteger nullable
updatedstring date-time nullable

Changes

    • breaking

      removed the enum value Controller of the request property /// (media type: application/json)

    • breaking

      removed the enum value Controller of the request property /// (media type: text/json)

    • breaking

      removed the enum value Controller of the request property /// (media type: application/*+json)

    • breaking

      removed the enum value Controller of the request property /// (media type: application/json)

    • breaking

      removed the enum value Controller of the request property /// (media type: text/json)

    • breaking

      removed the enum value Controller of the request property /// (media type: application/*+json)

    • breaking

      removed the enum value View of the request property /// (media type: application/json)

    • breaking

      removed the enum value View of the request property /// (media type: text/json)

    • breaking

      removed the enum value View of the request property /// (media type: application/*+json)

    • breaking

      removed the enum value View of the request property /// (media type: application/json)

    • breaking

      removed the enum value View of the request property /// (media type: text/json)

    • breaking

      removed the enum value View of the request property /// (media type: application/*+json)

    • warning

      added the new Reader enum value to the /// response property for the response status (media type: text/plain)

    • warning

      added the new Reader enum value to the /// response property for the response status (media type: application/json)

    • warning

      added the new Reader enum value to the /// response property for the response status (media type: text/json)

    • warning

      added the new Reader enum value to the /// response property for the response status (media type: text/plain)

    • warning

      added the new Reader enum value to the /// response property for the response status (media type: application/json)

    • warning

      added the new Reader enum value to the /// response property for the response status (media type: text/json)

    • warning

      added the new Reviewer enum value to the /// response property for the response status (media type: text/plain)

    • warning

      added the new Reviewer enum value to the /// response property for the response status (media type: application/json)

    • warning

      added the new Reviewer enum value to the /// response property for the response status (media type: text/json)

    • warning

      added the new Reviewer enum value to the /// response property for the response status (media type: text/plain)

    • warning

      added the new Reviewer enum value to the /// response property for the response status (media type: application/json)

    • warning

      added the new Reviewer enum value to the /// response property for the response status (media type: text/json)

    • info

      added the new Reader enum value to the request property /// (media type: application/json)

    • info

      added the new Reader enum value to the request property /// (media type: text/json)

    • info

      added the new Reader enum value to the request property /// (media type: application/*+json)

    • info

      added the new Reader enum value to the request property /// (media type: application/json)

    • info

      added the new Reader enum value to the request property /// (media type: text/json)

    • info

      added the new Reader enum value to the request property /// (media type: application/*+json)

    • info

      added the new Reviewer enum value to the request property /// (media type: application/json)

    • info

      added the new Reviewer enum value to the request property /// (media type: text/json)

    • info

      added the new Reviewer enum value to the request property /// (media type: application/*+json)

    • info

      added the new Reviewer enum value to the request property /// (media type: application/json)

    • info

      added the new Reviewer enum value to the request property /// (media type: text/json)

    • info

      added the new Reviewer enum value to the request property /// (media type: application/*+json)

    • info

      removed the Controller enum value from the /// response property for the response status (media type: text/plain)

    • info

      removed the Controller enum value from the /// response property for the response status (media type: application/json)

    • info

      removed the Controller enum value from the /// response property for the response status (media type: text/json)

    • info

      removed the Controller enum value from the /// response property for the response status (media type: text/plain)

    • info

      removed the Controller enum value from the /// response property for the response status (media type: application/json)

    • info

      removed the Controller enum value from the /// response property for the response status (media type: text/json)

    • info

      removed the View enum value from the /// response property for the response status (media type: text/plain)

    • info

      removed the View enum value from the /// response property for the response status (media type: application/json)

    • info

      removed the View enum value from the /// response property for the response status (media type: text/json)

    • info

      removed the View enum value from the /// response property for the response status (media type: text/plain)

    • info

      removed the View enum value from the /// response property for the response status (media type: application/json)

    • info

      removed the View enum value from the /// response property for the response status (media type: text/json)

    • breaking

      removed the enum value Validator of the request property /// (media type: application/json)

    • breaking

      removed the enum value Validator of the request property /// (media type: text/json)

    • breaking

      removed the enum value Validator of the request property /// (media type: application/*+json)

    • breaking

      removed the enum value Validator of the request property /// (media type: application/json)

    • breaking

      removed the enum value Validator of the request property /// (media type: text/json)

    • breaking

      removed the enum value Validator of the request property /// (media type: application/*+json)

    • info

      removed the Validator enum value from the /// response property for the response status (media type: text/plain)

    • info

      removed the Validator enum value from the /// response property for the response status (media type: application/json)

    • info

      removed the Validator enum value from the /// response property for the response status (media type: text/json)

    • info

      removed the Validator enum value from the /// response property for the response status (media type: text/plain)

    • info

      removed the Validator enum value from the /// response property for the response status (media type: application/json)

    • info

      removed the Validator enum value from the /// response property for the response status (media type: text/json)