GET api/CollectionLive/LoadDeclaration?declarationcode={declarationcode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| declarationcode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
LoadDeclarationResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | string |
None. |
|
| ResponseStatus | string |
None. |
|
| ResponseMessage | string |
None. |
|
| DeclarationCode | string |
None. |
|
| PaymentLevels | Collection of PaymentLevel |
None. |
|
| ConfirmationCodeExpiryDateTime | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": "sample string 1",
"ResponseStatus": "sample string 2",
"ResponseMessage": "sample string 3",
"DeclarationCode": "sample string 4",
"PaymentLevels": [
{
"TypeOfLevel": "sample string 1",
"NameOfLevel": "sample string 2",
"LevelAmountUnpaid": 3.0,
"PaymentOption": "sample string 4",
"PaymentInstitution": "sample string 5",
"PaymentAccountOrMomoNumber": "sample string 6",
"PaymentAccountOrMomoName": "sample string 7",
"ConfirmationCode": "sample string 8",
"LevelPaymentConfirmationURL": "sample string 9",
"Note": "sample string 10"
},
{
"TypeOfLevel": "sample string 1",
"NameOfLevel": "sample string 2",
"LevelAmountUnpaid": 3.0,
"PaymentOption": "sample string 4",
"PaymentInstitution": "sample string 5",
"PaymentAccountOrMomoNumber": "sample string 6",
"PaymentAccountOrMomoName": "sample string 7",
"ConfirmationCode": "sample string 8",
"LevelPaymentConfirmationURL": "sample string 9",
"Note": "sample string 10"
}
],
"ConfirmationCodeExpiryDateTime": "sample string 5"
}
application/xml, text/xml
Sample:
<LoadDeclarationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EPaymentServices.Models">
<ConfirmationCodeExpiryDateTime>sample string 5</ConfirmationCodeExpiryDateTime>
<DeclarationCode>sample string 4</DeclarationCode>
<PaymentLevels>
<PaymentLevel>
<ConfirmationCode>sample string 8</ConfirmationCode>
<LevelAmountUnpaid>3</LevelAmountUnpaid>
<LevelPaymentConfirmationURL>sample string 9</LevelPaymentConfirmationURL>
<NameOfLevel>sample string 2</NameOfLevel>
<Note>sample string 10</Note>
<PaymentAccountOrMomoName>sample string 7</PaymentAccountOrMomoName>
<PaymentAccountOrMomoNumber>sample string 6</PaymentAccountOrMomoNumber>
<PaymentInstitution>sample string 5</PaymentInstitution>
<PaymentOption>sample string 4</PaymentOption>
<TypeOfLevel>sample string 1</TypeOfLevel>
</PaymentLevel>
<PaymentLevel>
<ConfirmationCode>sample string 8</ConfirmationCode>
<LevelAmountUnpaid>3</LevelAmountUnpaid>
<LevelPaymentConfirmationURL>sample string 9</LevelPaymentConfirmationURL>
<NameOfLevel>sample string 2</NameOfLevel>
<Note>sample string 10</Note>
<PaymentAccountOrMomoName>sample string 7</PaymentAccountOrMomoName>
<PaymentAccountOrMomoNumber>sample string 6</PaymentAccountOrMomoNumber>
<PaymentInstitution>sample string 5</PaymentInstitution>
<PaymentOption>sample string 4</PaymentOption>
<TypeOfLevel>sample string 1</TypeOfLevel>
</PaymentLevel>
</PaymentLevels>
<ResponseCode>sample string 1</ResponseCode>
<ResponseMessage>sample string 3</ResponseMessage>
<ResponseStatus>sample string 2</ResponseStatus>
</LoadDeclarationResponse>