POST api/Invoice/UpdatePaymentDetailById
Request Information
URI Parameters
None.
Body Parameters
PaymentDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CompanyId | integer |
None. |
|
| Amount | decimal number |
None. |
|
| NumberOfDevicesBought | integer |
None. |
|
| TransactionNumber | string |
None. |
|
| FileName | string |
None. |
|
| PlanId | integer |
None. |
|
| CompanyName | string |
None. |
|
| ContactPerson | string |
None. |
|
| ContactNumber | string |
None. |
|
| string |
None. |
||
| Address | string |
None. |
|
| Details | string |
None. |
|
| Price | decimal number |
None. |
|
| PaymentVia | integer |
None. |
|
| PaymentStatus | integer |
None. |
|
| CreatedDate | date |
None. |
|
| DocEntry | integer |
None. |
|
| TotalAmount | decimal number |
None. |
|
| VatPercentage | decimal number |
None. |
|
| TotalVatAmount | decimal number |
None. |
|
| Currency | string |
None. |
|
| ExpiryDate | date |
None. |
|
| PlanName | string |
None. |
|
| PlantPrice | decimal number |
None. |
|
| ColumnName | string |
None. |
|
| SortDirection | string |
None. |
|
| UserId | integer |
None. |
|
| UserType | integer |
None. |
|
| ResellerId | integer |
None. |
|
| PerDayPrice | decimal number |
None. |
|
| TotalPrice | decimal number |
None. |
|
| PerDeviceCost | decimal number |
None. |
|
| SAPNumber | string |
None. |
|
| IsRenew | boolean |
None. |
|
| NumberOfDevices | integer |
None. |
|
| TotalDevice | integer |
None. |
|
| LicenceExpiryDate | date |
None. |
|
| LastExpiryDate | date |
None. |
|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
|
| Value | Object |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CompanyId": 2,
"Amount": 3.0,
"NumberOfDevicesBought": 4,
"TransactionNumber": "sample string 5",
"FileName": "sample string 6",
"PlanId": 7,
"CompanyName": "sample string 8",
"ContactPerson": "sample string 9",
"ContactNumber": "sample string 10",
"Email": "sample string 11",
"Address": "sample string 12",
"Details": "sample string 13",
"Price": 14.0,
"PaymentVia": 1,
"PaymentStatus": 1,
"CreatedDate": "2025-12-28T13:32:24.1402992+02:00",
"DocEntry": 1,
"TotalAmount": 16.0,
"VatPercentage": 17.0,
"TotalVatAmount": 18.0,
"Currency": "sample string 19",
"ExpiryDate": "2025-12-28T13:32:24.1402992+02:00",
"PlanName": "sample string 21",
"PlantPrice": 22.0,
"ColumnName": "sample string 23",
"SortDirection": "sample string 24",
"UserId": 25,
"UserType": 26,
"ResellerId": 27,
"PerDayPrice": 28.0,
"TotalPrice": 29.0,
"PerDeviceCost": 30.0,
"SAPNumber": "sample string 31",
"IsRenew": true,
"NumberOfDevices": 1,
"TotalDevice": 33,
"LicenceExpiryDate": "2025-12-28T13:32:24.1402992+02:00",
"LastExpiryDate": "2025-12-28T13:32:24.1402992+02:00",
"IsSuccess": true,
"Message": "sample string 36",
"Value": {}
}
application/xml, text/xml
Sample:
<PaymentDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain"> <IsSuccess>true</IsSuccess> <Message>sample string 36</Message> <Value /> <Address>sample string 12</Address> <Amount>3</Amount> <ColumnName>sample string 23</ColumnName> <CompanyId>2</CompanyId> <CompanyName>sample string 8</CompanyName> <ContactNumber>sample string 10</ContactNumber> <ContactPerson>sample string 9</ContactPerson> <CreatedDate>2025-12-28T13:32:24.1402992+02:00</CreatedDate> <Currency>sample string 19</Currency> <Details>sample string 13</Details> <DocEntry>1</DocEntry> <Email>sample string 11</Email> <ExpiryDate>2025-12-28T13:32:24.1402992+02:00</ExpiryDate> <FileName>sample string 6</FileName> <Id>1</Id> <IsRenew>true</IsRenew> <LastExpiryDate>2025-12-28T13:32:24.1402992+02:00</LastExpiryDate> <LicenceExpiryDate>2025-12-28T13:32:24.1402992+02:00</LicenceExpiryDate> <NumberOfDevices>1</NumberOfDevices> <NumberOfDevicesBought>4</NumberOfDevicesBought> <PaymentStatus>1</PaymentStatus> <PaymentVia>1</PaymentVia> <PerDayPrice>28</PerDayPrice> <PerDeviceCost>30</PerDeviceCost> <PlanId>7</PlanId> <PlanName>sample string 21</PlanName> <PlantPrice>22</PlantPrice> <Price>14</Price> <ResellerId>27</ResellerId> <SAPNumber>sample string 31</SAPNumber> <SortDirection>sample string 24</SortDirection> <TotalAmount>16</TotalAmount> <TotalDevice>33</TotalDevice> <TotalPrice>29</TotalPrice> <TotalVatAmount>18</TotalVatAmount> <TransactionNumber>sample string 5</TransactionNumber> <UserId>25</UserId> <UserType>26</UserType> <VatPercentage>17</VatPercentage> </PaymentDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |