PUT api/PortalAdmin/Contract/Update

Request Information

URI Parameters

None.

Body Parameters

Contract_UpdateBinndingModel
NameDescriptionTypeAdditional information
Name

string

Required

TypeId

byte

Required

Description

string

None.

CustomerId

integer

None.

DateOfsign

date

Required

SpaceId

integer

None.

PortalId

integer

Required

IsActive

boolean

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "typeId": 64,
  "description": "sample string 3",
  "customerId": 4,
  "dateOfsign": "2025-12-06T12:31:46.3886941+07:00",
  "spaceId": 6,
  "portalId": 7,
  "isActive": true,
  "id": 9
}

application/xml, text/xml

Sample:
<Contract_UpdateBinndingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Portal">
  <CustomerId>4</CustomerId>
  <DateOfsign>2025-12-06T12:31:46.3886941+07:00</DateOfsign>
  <Description>sample string 3</Description>
  <Id>9</Id>
  <IsActive>true</IsActive>
  <Name>sample string 1</Name>
  <PortalId>7</PortalId>
  <SpaceId>6</SpaceId>
  <TypeId>64</TypeId>
</Contract_UpdateBinndingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.