POST api/LogWeb/GenVietQR
Request Information
URI Parameters
None.
Body Parameters
AgentPayment| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| AgentId | integer |
None. |
|
| PaymentCode | string |
None. |
|
| PaymentDate | date |
None. |
|
| Description | string |
None. |
|
| Amount | decimal number |
None. |
|
| Status | integer |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedBy | string |
None. |
|
| UpdatedDate | date |
None. |
|
| TaxCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"AgentId": 2,
"PaymentCode": "sample string 3",
"PaymentDate": "2026-05-14T15:58:22.2339225+07:00",
"Description": "sample string 5",
"Amount": 6.0,
"Status": 7,
"CreatedBy": "sample string 8",
"CreatedDate": "2026-05-14T15:58:22.2339225+07:00",
"UpdatedBy": "sample string 10",
"UpdatedDate": "2026-05-14T15:58:22.2339225+07:00",
"TaxCode": "sample string 12"
}
application/xml, text/xml
Sample:
<AgentPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HarmonyAPI.Models"> <AgentId>2</AgentId> <Amount>6</Amount> <CreatedBy>sample string 8</CreatedBy> <CreatedDate>2026-05-14T15:58:22.2339225+07:00</CreatedDate> <Description>sample string 5</Description> <Id>1</Id> <PaymentCode>sample string 3</PaymentCode> <PaymentDate>2026-05-14T15:58:22.2339225+07:00</PaymentDate> <Status>7</Status> <TaxCode>sample string 12</TaxCode> <UpdatedBy>sample string 10</UpdatedBy> <UpdatedDate>2026-05-14T15:58:22.2339225+07:00</UpdatedDate> </AgentPayment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>