RemoveAttachmentReferenceFromResource

<< Fare clic per visualizzazione il sommario >>

Percorso:  I servizi di Jamio openwork > Jamio Resource Service >

RemoveAttachmentReferenceFromResource

Service

JamioResource

 

Method

RemoveAttachmentReferenceFromResource

 

Description

Deletes an attachment from a resource and from a custom field that references it. Owner resource types supported:

Data

Identity

Aggregation

Organization

OrganizationalBlock

OrganizationalPosition

OrganizationalUnit

OrganizationalAssignment

HumanTask

 

Input

Name

Description

Type

Optional

serverAddress

Server address for an external Domain (or "" for the current Domain).

String

Y

token

The session token (for the current session in the current Domain may be null or empty).

String

Y

resource

Resource that owns the attachment

Object of type:

oData

oIdentity

oAggregation

oOrganization

oOrganizationalBlock

oOrganizationalPosition

oOrganizationalUnit

oOrganizationalAssignment

oHumanTask

 

fieldName

Name of the custom reference field (only first level field) that has to reference the new attachment.

String

 

attachmentReference

Reference of the attachment to remove from the resource.

Reference

 

Output

Name

Description

Type

Optional

returnValue

The given resource with an updated AttachmentInfoList.

Object of type:

oData

oIdentity

oAggregation

oOrganization

oOrganizationalBlock

oOrganizationalPosition

oOrganizationalUnit

oOrganizationalAssignment

oHumanTask