Skip to main content
Version: v2.0

Attach document

Attach content from a provider to a document.

HTTP request

POST /api/now/v1/documents/{provider_id}/attach

Path parameters

NameDescription
provider_idProvider id

Query parameters

None.

Request body

Parameters for this operation are carried in the request configuration; don't supply a body model.

Response

An item envelope of Document.

Example

response, err := client.Now().Documents().Attach("{providerID}").Post(ctx, nil)
if err != nil {
log.Fatal(err)
}
Was this page helpful?