IMS Web Service Reference

Method: SetLocation

Description

Edit a location. If the supplied location key is not already in use for the particular branch a new location will be created. Use GetNewLocationKey to acquire a new location key. The branch key and location key identifies the location.                 Required privilege: "security.set_location".

Action

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

Input

The input of this method is the document element tns:SetLocation 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 
tns:Name  common:NameType  1..1 
tns:Description  common:DescriptionType  1..1 
tns:Rfid  common:RfidType  0..1 
tns:ParentLocationKey  common:LocationKeyType  0..1 
tns:LocationUsageTypeKey  common:LocationUsageTypeKeyType  1..1 
tns:Capacity  common:CapacityType  0..1 
Output

The output of this method is the document element tns:SetLocationResponse that is always empty.

Faults
Name  Content  Description 
InternalError  common:InternalErrorExceptionInfo 
InvalidArgument  common:InvalidArgumentExceptionInfo 
InvalidTokenException  common:InvalidTokenExceptionInfo 
InsufficientPrivileges  common:InsufficientPrivilegesExceptionInfo 
ParentNotFound  common:ParentNotFoundExceptionInfo 
DuplicateRecordFound  common:DuplicateRecordFoundExceptionInfo 
IllegalLocationEdit  common:IllegalLocationEditExceptionInfo