POST api/PortalAdmin/Contract/Insert

Request Information

URI Parameters

None.

Body Parameters

Contract_InsertBinddingModel
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.

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
}

application/xml, text/xml

Sample:
<Contract_InsertBinddingModel 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>
  <IsActive>true</IsActive>
  <Name>sample string 1</Name>
  <PortalId>7</PortalId>
  <SpaceId>6</SpaceId>
  <TypeId>64</TypeId>
</Contract_InsertBinddingModel>

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.