Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

OverviewOverview


This structure represents the results of a project estimate insertion or update. This operation can partially succeed, meaning some estimates were successfully saved while others triggered errors and could not be saved. The web service will report back details about each estimate, whether it succeeded or failed, by returning a collection of these structures. For failed estimates, ErrorDetail will provide more details about the nature of the failure.

...

Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32

No


Click here for more information.

1

SessionTicket

String

Yes


Click here for more information.

AaonOqOoU2Gb8IbysO8KXQ==

FullDetailFlag

Boolean

No

false

If set to true, include full detailed project estimate element PwsProjectEstimateElement in response.

true

LocksToSteal

PwsEntityLockSummary[]

No


The detailed information of the locks that are to be stolen. If not specified, the request will fail if any requested locks are already held. If specified, the information supplied must exactly match the current state of existing locks or the attempt to steal the existing locks will fail. Typically, this service is invoked with LocksToSteal empty or null. If there are existing locks, they will be returned in the LockHolders member of PwsFault. This data can then be sent, as is, back to the server in a second invocation of this service, as LocksToSteal, if the caller desires to steal the locks.


ProjectEstimate

PwsProjectEstimateDetail

Yes


This structure contains the complete set of information about a project estimate.


ProjectTimestamp

String

No


This is an optimistic locking timestamp that, if provided on update request, will cause the request to fail when the timestamp stored in the database does not match the provided value.


ProjectorLockSetId

Int32



If stealing existing locks, specify lock holders from PwsFault response.


SetActiveEstimateFlag

Boolean

No


If set to true the estimate will be set us the active estimate on the project.

true

...

Response Elements


PwsEntityLockSummary

Element

Data Type

Description

Messages

PwsMessage

The web service response status and message. Click here for more information.

ResponseId

Int32

Click here for more information

Status

RequestStatus

Click here for more information.

ServerTimestampUtc

DateTime

Click here for more information

ProjectEstimate

PwsProjectEstimateElement

ProjectEstimateIdentity

PwsProjectEstimateRef

ProjectTimestamp

String

StolenLocks

Type

Description


Messages

PwsMessage

The web service response status and message. Click here for more information.


ResponseId

Int32

Click here for more information

1

Status

RequestStatus

Click here for more information.

Ok
ServerTimestampUtc

DateTime

Click here for more information

2022-07-25T20:17:05.545186Z

ProjectEstimate

PwsProjectEstimateElement

This structure contains a project estimate detail structure (PwsProjectEstimateDetail). It is also where additional related information about the project estimate, that is not directly an attribute of the project estimate itself would be found. 


ProjectEstimateIdentity

PwsProjectEstimateRef

This structure represents the unique key fields associated with identifying a project estimate.


ProjectTimestamp

String

This is an optimistic locking timestamp that, if provided on update request, will cause the request to fail when the timestamp stored in the database does not match the provided value.

AAAAABxnQ9o=

StolenLocks

PwsEntityLockSummary

This structure contains information about the locks that were stolen in order to complete this request, Will be included only when LocksToSteal is specified in the request.


Response Usage Example(s)

...