AdjustWorkCenterBalance request message
- Last UpdatedSep 06, 2023
- 2 minute read
This is an example of a full AdjustWorkCenterBalance request message.
<AdjustWorkCenterBalanceRequestMessage xmlns="http://www.citect.com/Ampla/Inventory/2010/03">
<Request>
<Credentials>
<Username>User</Username>
<Password>********</Password>
<Session />
</Credentials>
<Material>Material Model.Site3.S3M1</Material>
<Method>Absolute</Method>
<Quantity>20</Quantity>
<WorkCenter>Enterprise.Site3.WCA</WorkCenter>
<Comment>Adjust balance of S3M1 at WCA by +20 tonnes</Comment>
<SampleDateTime>2012-06-11T13:00:00Z</SampleDateTime>
</Request>
</AdjustWorkCenterBalanceRequestMessage>
Request parameters: Credentials section
The Credentials section contains the security details for authentication. You can provide the Username and Password values to use the Basic security method. If you do not provide explicit security values, Web services will attempt to use Integrated authentication. You must provide either Basic credentials, Integrated credentials, or a Session ID.
<Credentials>
<Username>User</Username>
<Password>********</Password>
<Session />
</Credentials>
|
Parameter |
Description |
|---|---|
|
Username |
The login name of the AVEVA™ Production Management user. This is a string value. Username and Password together are mutually exclusive with Session. |
|
Password |
The password that is associated with the AVEVA Production Management user. This is a string value. Username and Password together are mutually exclusive with Session. |
|
Session |
A GUID string value that identifies the session. This is a string value. Mutually exclusive with Username and Password. |
Request parameters: Request section
The context and location of the request.
<Request>
<Material>Material Model.Site3.S3M1</Material>
<Method>Absolute</Method>
<Quantity>20</Quantity>
<WorkCenter>Enterprise.Site3.WCA</WorkCenter>
<Comment>Adjust balance of S3M1 at WCA by +20 tonnes</Comment>
<SampleDateTime>2012-06-11T13:00:00Z</SampleDateTime>
</Request>
|
Parameter |
Description |
|---|---|
|
Material |
(Required) The material to adjust at the work center. For example, raw coal, processed coal. |
|
Method |
(Required) Describes the method of adjustment. Whether to adjust the quantity by an absolute amount, or to adjust the quantity by percentage. The valid values are Absolute or Percentage. |
|
Quantity |
(Required) The quantity of material to adjust. This is a positive or negative numerical value. |
|
WorkCenter |
(Required) The name of the work center where adjustment occurs |
|
Comment |
A comment in relation to the adjustment. |
|
SampleDateTime |
The date and time of the sample in the following format: YYYY-MM-DD T HH:MM:SS Z. The T=Time and the Z=UTC time format. For example, 2018-08-24T18:00:00Z. |