PUT api/DebitNotes/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
UpdateDebitNoteDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Sale | Entity |
None. |
|
| Purchase | Entity |
None. |
|
| Customer | Entity |
None. |
|
| Supplier | Entity |
None. |
|
| Broker | Entity |
None. |
|
| OrderDetails | OrderDetailsDto |
None. |
|
| Description | string |
None. |
|
| CreatedOn | DateDto |
None. |
|
| Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Sale": {
"Id": 1
},
"Purchase": {
"Id": 1
},
"Customer": {
"Id": 1
},
"Supplier": {
"Id": 1
},
"Broker": {
"Id": 1
},
"OrderDetails": {
"FOB": 1.0,
"Insurance": 2.0,
"Freight": 3.0,
"CIFInForignCurrency": 4.0,
"ForeignCurrency": "sample string 5",
"CIFExchangeRateCustom": 6.0,
"CIFExchangeRateBank": 7.0,
"ServiceCharges": 8.0,
"NETCIFCustom": 9.0,
"NETCIFBank": 10.0,
"FinanceCost": 11.0,
"StorageCost": 12.0,
"ClearingCharges": 13.0,
"TransportCost": 14.0,
"NETCostCIFCustom": 15.0,
"LandingChargesPercent": 16.0,
"LandingCharges": 17.0,
"AssesableValue": 18.0,
"CDPercent": 19.0,
"CESSPercent": 20.0,
"CDAmount": 21.0,
"CESSAmount": 22.0,
"SACDAmount": 23.0,
"NETCostBasic": 24.0,
"GSTPercent": 25.0,
"GSTAmount": 26.0,
"AntiDumpingDuty": 27.0,
"TransportCharges": 28.0,
"DrumCharges": 29.0,
"OtherCharges": 30.0,
"TotalNETCost": 31.0,
"Quantity": 32.0,
"Rate": 33.0,
"Amount": 34.0,
"UnitOfMeasure": "sample string 35",
"CIFExchangeRateProvisional": 36.0,
"CIFExchangeRateFinal": 37.0,
"CIFInInrDuty": 38.0,
"CIFInInrBank": 39.0,
"GrossDiff": 40.0,
"GrossDiffAmount": 41.0,
"NetDiffAmount": 42.0,
"NetAmount": 43.0,
"TransportChargesAmount": 44.0,
"BrokerageChargesAmount": 45.0,
"DrumChargesAmount": 46.0,
"BrokeragePercent": 47.0,
"BrokerageCharges": 48.0,
"NetPrice": 49.0,
"LiftedQuantity": 50.0,
"FinalQuantity": 51.0,
"DutyCharges": 52.0,
"CIFInINRProvisional": 144.0,
"CIFInINRFinal": 148.0,
"ExchangeRateDiff": -1.0,
"ExchangeRateDiffAmount": -4.0,
"TotalRateAmount": -204.0
},
"Description": "sample string 1",
"CreatedOn": {
"Day": 1,
"Month": 2,
"Year": 3,
"Hour": 4,
"Minute": 5,
"Second": 6
},
"Id": 2
}
application/xml, text/xml
Sample:
<UpdateDebitNoteDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Logic.DTOs">
<Id>2</Id>
<Broker>
<Id>1</Id>
</Broker>
<CreatedOn>
<Day>1</Day>
<Hour>4</Hour>
<Minute>5</Minute>
<Month>2</Month>
<Second>6</Second>
<Year>3</Year>
</CreatedOn>
<Customer>
<Id>1</Id>
</Customer>
<Description>sample string 1</Description>
<OrderDetails>
<Amount>34</Amount>
<AntiDumpingDuty>27</AntiDumpingDuty>
<AssesableValue>18</AssesableValue>
<BrokerageCharges>48</BrokerageCharges>
<BrokerageChargesAmount>45</BrokerageChargesAmount>
<BrokeragePercent>47</BrokeragePercent>
<CDAmount>21</CDAmount>
<CDPercent>19</CDPercent>
<CESSAmount>22</CESSAmount>
<CESSPercent>20</CESSPercent>
<CIFExchangeRateBank>7</CIFExchangeRateBank>
<CIFExchangeRateCustom>6</CIFExchangeRateCustom>
<CIFExchangeRateFinal>37</CIFExchangeRateFinal>
<CIFExchangeRateProvisional>36</CIFExchangeRateProvisional>
<CIFInForignCurrency>4</CIFInForignCurrency>
<CIFInInrBank>39</CIFInInrBank>
<CIFInInrDuty>38</CIFInInrDuty>
<ClearingCharges>13</ClearingCharges>
<DrumCharges>29</DrumCharges>
<DrumChargesAmount>46</DrumChargesAmount>
<DutyCharges>52</DutyCharges>
<FOB>1</FOB>
<FinalQuantity>51</FinalQuantity>
<FinanceCost>11</FinanceCost>
<ForeignCurrency>sample string 5</ForeignCurrency>
<Freight>3</Freight>
<GSTAmount>26</GSTAmount>
<GSTPercent>25</GSTPercent>
<GrossDiff>40</GrossDiff>
<GrossDiffAmount>41</GrossDiffAmount>
<Insurance>2</Insurance>
<LandingCharges>17</LandingCharges>
<LandingChargesPercent>16</LandingChargesPercent>
<LiftedQuantity>50</LiftedQuantity>
<NETCIFBank>10</NETCIFBank>
<NETCIFCustom>9</NETCIFCustom>
<NETCostBasic>24</NETCostBasic>
<NETCostCIFCustom>15</NETCostCIFCustom>
<NetAmount>43</NetAmount>
<NetDiffAmount>42</NetDiffAmount>
<NetPrice>49</NetPrice>
<OtherCharges>30</OtherCharges>
<Quantity>32</Quantity>
<Rate>33</Rate>
<SACDAmount>23</SACDAmount>
<ServiceCharges>8</ServiceCharges>
<StorageCost>12</StorageCost>
<TotalNETCost>31</TotalNETCost>
<TransportCharges>28</TransportCharges>
<TransportChargesAmount>44</TransportChargesAmount>
<TransportCost>14</TransportCost>
<UnitOfMeasure>sample string 35</UnitOfMeasure>
</OrderDetails>
<Purchase>
<Id>1</Id>
</Purchase>
<Sale>
<Id>1</Id>
</Sale>
<Supplier>
<Id>1</Id>
</Supplier>
</UpdateDebitNoteDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.