GET api/cardService/v1/statements/statementId/{statementId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| statementId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetStatementByIdResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| statement | StatementResponseModel |
None. |
|
| IsSuccess | boolean |
Required |
|
| ErrorCodes | Collection of string |
Required |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"statement": {
"statementId": 1,
"createdDate": "2025-10-26T10:46:48.7508409+00:00",
"statementType": "sample string 4",
"creditprofileId": 5,
"creditProfileName": "sample string 6",
"statementYear": "sample string 7",
"statementMonth": "sample string 8",
"timeActioned": "sample string 9",
"totalSpent": 10.1,
"totalSpentDomestic": 11.1,
"totalSpentNonDomestic": 12.1,
"financeFeeTotal": 13.1,
"cardFeeGross": 14.1,
"cardFeeNet": 15.1,
"cardIssueFeeGross": 16.1,
"cardIssueFeeNet": 17.1,
"feeVatPercentage": 18.1,
"fxFeeTotal": 19.1,
"totalGross": 20.1,
"totalNet": 21.1,
"paid": true,
"description": "sample string 23",
"status": "sample string 24",
"bcSalesInvoiceId": "sample string 25",
"frequency": "sample string 26"
},
"IsSuccess": true,
"ErrorCodes": [
"sample string 1",
"sample string 2"
],
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<GetStatementByIdResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels.Statements">
<ErrorCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ErrorCodes>
<IsSuccess xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels">true</IsSuccess>
<Message xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels">sample string 2</Message>
<statement>
<BcSalesInvoiceId>sample string 25</BcSalesInvoiceId>
<CardFeeGross>14.1</CardFeeGross>
<CardFeeNet>15.1</CardFeeNet>
<CardIssueFeeGross>16.1</CardIssueFeeGross>
<CardIssueFeeNet>17.1</CardIssueFeeNet>
<CreatedDate>2025-10-26T10:46:48.7508409+00:00</CreatedDate>
<CreditProfileId>5</CreditProfileId>
<CreditProfileName>sample string 6</CreditProfileName>
<Description>sample string 23</Description>
<FXFeeTotal>19.1</FXFeeTotal>
<FeeVatPercentage>18.1</FeeVatPercentage>
<FinanceFeeTotal>13.1</FinanceFeeTotal>
<Frequency>sample string 26</Frequency>
<Paid>true</Paid>
<StatementId>1</StatementId>
<StatementMonth>sample string 8</StatementMonth>
<StatementType>sample string 4</StatementType>
<StatementYear>sample string 7</StatementYear>
<Status>sample string 24</Status>
<TimeActioned>sample string 9</TimeActioned>
<TotalGross>20.1</TotalGross>
<TotalNet>21.1</TotalNet>
<TotalSpent>10.1</TotalSpent>
<TotalSpentDomestic>11.1</TotalSpentDomestic>
<TotalSpentNonDomestic>12.1</TotalSpentNonDomestic>
<UpdatedDate>2025-10-26T10:46:48.7508409+00:00</UpdatedDate>
</statement>
</GetStatementByIdResponseModel>