PUT api/tblCoups/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
tblCoup| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| cpCode | string |
None. |
|
| cpDesc | string |
None. |
|
| CpCusts | integer |
None. |
|
| cpDisFee | decimal number |
None. |
|
| cpDisTot | decimal number |
None. |
|
| cpDFrom | date |
None. |
|
| cpDTo | date |
None. |
|
| cpKind | integer |
None. |
|
| cpCustid | integer |
None. |
|
| cpSupId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"cpCode": "sample string 2",
"cpDesc": "sample string 3",
"CpCusts": 4,
"cpDisFee": 5.1,
"cpDisTot": 6.1,
"cpDFrom": "2026-03-14T09:48:01.1226853-05:00",
"cpDTo": "2026-03-14T09:48:01.1226853-05:00",
"cpKind": 9,
"cpCustid": 10,
"cpSupId": 11
}
application/xml, text/xml
Sample:
<tblCoup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Classes"> <CpCusts>4</CpCusts> <Id>1</Id> <cpCode>sample string 2</cpCode> <cpCustid>10</cpCustid> <cpDFrom>2026-03-14T09:48:01.1226853-05:00</cpDFrom> <cpDTo>2026-03-14T09:48:01.1226853-05:00</cpDTo> <cpDesc>sample string 3</cpDesc> <cpDisFee>5.1</cpDisFee> <cpDisTot>6.1</cpDisTot> <cpKind>9</cpKind> <cpSupId>11</cpSupId> </tblCoup>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.