PUT api/Guarantees/{guaranteeId}
Updates a Guarantee
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| guaranteeId | integer |
Required |
Body Parameters
GuaranteeCuDto| Name | Description | Type | Additional information |
|---|---|---|---|
| GuaranteeTypeId | integer |
None. |
|
| SubcontractId | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Amount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"guaranteeTypeId": 1,
"subcontractId": 2,
"name": "sample string 3",
"description": "sample string 4",
"amount": 1.0
}
text/html
Sample:
{"guaranteeTypeId":1,"subcontractId":2,"name":"sample string 3","description":"sample string 4","amount":1.0}
application/xml, text/xml
Sample:
<GuaranteeCuDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.GuaranteeAgg"> <Amount>1</Amount> <Description>sample string 4</Description> <GuaranteeTypeId>1</GuaranteeTypeId> <Name>sample string 3</Name> <SubcontractId>2</SubcontractId> </GuaranteeCuDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>