IMS Web Service Reference

Method: CopyLocationSegment

Description

Makes a copy of the segment of the location hierarchy that has the input location as parent node. Rfids are not copied. The parent of the copied subtree is the same as that of the original. The location key of the parent of the copied subtree is returned, and the name of this is auto generated.                 Required privilege: "security.set_location".

Action

http://ims.lyngsoesystems.com/administration/CopyLocationSegment

Input

The input of this method is the document element tns:CopyLocationSegment having the structure defined by the following table.

Element  Type  Occurs  Description 
    1..1 
tns:Token  common:TokenType  1..1 
tns:BranchKey  common:BranchKeyType  1..1 
tns:LocationKey  common:LocationKeyType  1..1 
Output

The output of this method is the document element tns:CopyLocationSegmentResponse having the structure defined by the following table.

Element  Type  Occurs  Description 
    1..1 
tns:OutLocationKey  common:LocationKeyType  1..1 
Faults
Name  Content  Description 
InternalError  common:InternalErrorExceptionInfo 
InvalidArgument  common:InvalidArgumentExceptionInfo 
InvalidTokenException  common:InvalidTokenExceptionInfo 
InsufficientPrivileges  common:InsufficientPrivilegesExceptionInfo