GET api/PortalAdmin/Contract/Detail?Id={Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Contract_DetailModel
NameDescriptionTypeAdditional information
Id

string

None.

Name

string

None.

TypeId

byte

None.

Description

string

None.

CustomerId

integer

None.

DateOfSign

date

None.

IsActive

boolean

None.

SpaceId

integer

None.

PortalId

integer

None.

DateCreate

date

None.

EmployeeNameCreate

string

None.

DateUpdate

date

None.

EmployeeNameUpdate

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "name": "sample string 2",
  "typeId": 64,
  "description": "sample string 4",
  "customerId": 5,
  "dateOfSign": "2025-12-06T12:34:19.2806696+07:00",
  "isActive": true,
  "spaceId": 7,
  "portalId": 8,
  "dateCreate": "2025-12-06T12:34:19.2806696+07:00",
  "employeeNameCreate": "sample string 9",
  "dateUpdate": "2025-12-06T12:34:19.2806696+07:00",
  "employeeNameUpdate": "sample string 10"
}

application/xml, text/xml

Sample:
<Contract_DetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Portal">
  <CustomerId>5</CustomerId>
  <DateCreate>2025-12-06T12:34:19.2806696+07:00</DateCreate>
  <DateOfSign>2025-12-06T12:34:19.2806696+07:00</DateOfSign>
  <DateUpdate>2025-12-06T12:34:19.2806696+07:00</DateUpdate>
  <Description>sample string 4</Description>
  <EmployeeNameCreate>sample string 9</EmployeeNameCreate>
  <EmployeeNameUpdate>sample string 10</EmployeeNameUpdate>
  <Id>sample string 1</Id>
  <IsActive>true</IsActive>
  <Name>sample string 2</Name>
  <PortalId>8</PortalId>
  <SpaceId>7</SpaceId>
  <TypeId>64</TypeId>
</Contract_DetailModel>