POST api/Entity/Move

Moves an entity

Request Information

URI Parameters

None.

Body Parameters

MoveEntityParameter parameter

WorkPoint365.WebAPI.Model.MoveEntityParameter
NameDescriptionTypeAdditional information
SourceEntityListID

Gets or sets the source entity list identifier.

globally unique identifier

None.

SourceEntityID

Gets or sets the source entity identifier.

integer

None.

TargetEntityListID

Gets or sets the target entity list identifier.

globally unique identifier

None.

TargetEntityContentTypeID

Gets or sets the target entity content type identifier.

string

None.

ValidateOnly

Gets or sets a value indicating whether [validate only].

boolean

None.

IncludeProgressLogInResult

Gets or sets a value indicating whether [include progress log in result].

boolean

None.

RunAsJob

Gets or sets a value indicating whether [run as job].

boolean

None.

Request Formats

application/json, text/json

Sample:

Sample not available.

Response Information

Resource Description

Returns result information for the movement

WorkPoint365.WebAPI.Model.MoveEntityResult
NameDescriptionTypeAdditional information
Ok

Gets or sets a value indicating whether this is ok.

boolean

None.

Errors

Gets or sets the errors.

Collection of string

None.

Warnings

Gets or sets the warnings.

Collection of string

None.

ProgressLog

Gets or sets the progress log.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Ok": true,
  "Errors": [
    "sample string 1",
    "sample string 2"
  ],
  "Warnings": [
    "sample string 1",
    "sample string 2"
  ],
  "ProgressLog": "sample string 2"
}

application/xml, text/xml

Sample:
<MoveEntityResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPoint365.WebAPI.Model">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <Ok>true</Ok>
  <ProgressLog>sample string 2</ProgressLog>
  <Warnings xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Warnings>
</MoveEntityResult>