Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Overview


This web service inserts or updates a single expense document based on a detailed expense document structure (PwsExpenseDocumentDetail). The service returns the identity (PwsClientRef) of the client that has been inserted or updated. The caller can optionally request that the full cost card detail (PwsClientElement) be included in the response.

Request Format


PwsSaveExpenseDocumentCostCard Request

Request Elements


Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32

No

 

Click here for more information.

 

SessionTicket

String

Yes 

 

Click here for more information.

 

Comments

String

No 

 

 

 

CostCard

PwsCostCardDetail

On Insert: No

On Update Yes 

 

 

 

DeleteReceipts

PwsReceiptRef [???]

No 

 

 

 

ExpenseDocumentIdentity

PwsExpenseDocumentRef

On Insert: yes

On Update: No 

 

 

 

ExpenseDocumentTimestamp

String

No

 

 

 

FullDetailFlag

Boolean

No 

 

 

 

InsertReceiptsIfNotFoundOnUpdateFlag

Boolean

No

 

 

 

ResourceIdentity

PwsResourceRef

On Insert: No

On Update No 

 

 

 

SaveReceipts

PwsReceiptDetail [???]

On Insert: No

On Update: No 

 

 

 

UpdateReceiptsIfFoundOnInsertFlag

Boolean

On Insert: No

On Update: No

 

 

 

PreserveCostCardStatusFlag

Boolean

On Insert: No

On Update: No

false

 

 

CostCards

PwsCostCardDetail [???]

On Insert: Yes

On Update: No

 

 

 

  • No labels