Versions Compared

Key

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

...

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.

AUL1Tsqbhar4SWXC5j9T+w==

Comments

String (255)

No 


Cost Card deletion comments (stored on the database)

Request 01

CostCardIdentity

PwsCostCardRef

Yes 


The cost card identity to be deleted


ExpenseDocumentIdentity

PwsExpenseDocumentRef

Yes 


The expense document the cost card resides under


ExpenseDocumentTimestamp

String

No 


This is a Base64 encoded timestamp utilized for engagement locking. To protect against overwriting other changes, you may optionally echo back the timestamp returned by a call to PwsSaveExpenseDocument (or a prior call to PwsSaveExpenseDocument). This will cause the request to fail if any change has been made between invocations of PwsGetExpenseDocument and PwsSaveExpenseDocument.


ResourceIdentity

PwsResourceRef

No 


The resource associated with the cost card


...

Panel
titlePwsDeleteExpenseDocumentCostCard Response

Response Elements


Element

Data Type

Description

Sample Data

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.

2018-03-01T16:07:45.595844Z

ExpenseDocumentTimestamp

String

This is a Base64 encoded timestamp utilized for engagement locking. To protect against overwriting other changes, you may optionally echo back the timestamp returned by a call to PwsSaveExpenseDocument (or a prior call to PwsSaveExpenseDocument). This will cause the request to fail if any change has been made between invocations of PwsGetExpenseDocument and PwsSaveExpenseDocument.

AAAAAA64Ku8=

Response Usage Example(s)

...


ErrorNumber

ErrorCode

ErrorText

19024CostCardNotSpecifiedForDeleteA specified engagement identity was incomplete. Each engagement identity must specify either an engagement id, and engagement uid or an engagement code.
19037ExpenseDocumentNotSpecifiedForDeleteCostCardExpense document identity is required.
65200CostCardHasBeenChangedCost card has been changed by another user.
65374CostCardHasBeenDeletedOne or more referenced cost card(s) have been deleted.
65489CostCardRefInvalidCostCardRef is required
65491CostCardNotFoundCostCard not found
65672OneOrMoreCostCardsCannotBeDeletedOne or more cost cards cannot be deleted.