POST api/contract/GetAllContractsByCompanyId?idClient={idClient}&token={token}&activeStatus={activeStatus}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idClient

integer

Required

token

string

Required

activeStatus

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ContractModel
NameDescriptionTypeAdditional information
Id

integer

None.

ClientId

integer

None.

PlanName

string

None.

CompanyName

string

None.

CompanyIdentifier

string

None.

MaxUsers

integer

None.

MaxPrinters

integer

None.

MaxAccounts

integer

None.

MaxServers

integer

None.

MaxComputers

integer

None.

EndDate

date

None.

RenewPeriod

integer

None.

Value

decimal number

None.

Active

boolean

None.

Deleted

boolean

None.

DeleteDate

date

None.

CreationDate

date

None.

LifetimeValue

decimal number

None.

PlanId

integer

None.

IsTrial

boolean

None.

DaysLeft

integer

None.

RemainPrinters

integer

None.

RecurrentPaymentId

string

None.

NextRecurrency

date

None.

Canceled

boolean

None.

CanceledDate

date

None.

CanceledIdUser

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ClientId": 2,
    "PlanName": "sample string 3",
    "CompanyName": "sample string 4",
    "CompanyIdentifier": "sample string 5",
    "MaxUsers": 6,
    "MaxPrinters": 7,
    "MaxAccounts": 8,
    "MaxServers": 9,
    "MaxComputers": 10,
    "EndDate": "2025-12-13T11:12:39.6082916-03:00",
    "RenewPeriod": 12,
    "Value": 13.1,
    "Active": true,
    "Deleted": true,
    "DeleteDate": "2025-12-13T11:12:39.6082916-03:00",
    "CreationDate": "2025-12-13T11:12:39.6082916-03:00",
    "LifetimeValue": 18.1,
    "PlanId": 19,
    "IsTrial": true,
    "DaysLeft": 21,
    "RemainPrinters": 22,
    "RecurrentPaymentId": "sample string 23",
    "NextRecurrency": "2025-12-13T11:12:39.6082916-03:00",
    "Canceled": true,
    "CanceledDate": "2025-12-13T11:12:39.6082916-03:00",
    "CanceledIdUser": 27
  },
  {
    "Id": 1,
    "ClientId": 2,
    "PlanName": "sample string 3",
    "CompanyName": "sample string 4",
    "CompanyIdentifier": "sample string 5",
    "MaxUsers": 6,
    "MaxPrinters": 7,
    "MaxAccounts": 8,
    "MaxServers": 9,
    "MaxComputers": 10,
    "EndDate": "2025-12-13T11:12:39.6082916-03:00",
    "RenewPeriod": 12,
    "Value": 13.1,
    "Active": true,
    "Deleted": true,
    "DeleteDate": "2025-12-13T11:12:39.6082916-03:00",
    "CreationDate": "2025-12-13T11:12:39.6082916-03:00",
    "LifetimeValue": 18.1,
    "PlanId": 19,
    "IsTrial": true,
    "DaysLeft": 21,
    "RemainPrinters": 22,
    "RecurrentPaymentId": "sample string 23",
    "NextRecurrency": "2025-12-13T11:12:39.6082916-03:00",
    "Canceled": true,
    "CanceledDate": "2025-12-13T11:12:39.6082916-03:00",
    "CanceledIdUser": 27
  }
]

application/xml, text/xml

Sample:
<ArrayOfContractModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Models">
  <ContractModel>
    <Active>true</Active>
    <Canceled>true</Canceled>
    <CanceledDate>2025-12-13T11:12:39.6082916-03:00</CanceledDate>
    <CanceledIdUser>27</CanceledIdUser>
    <ClientId>2</ClientId>
    <CompanyIdentifier>sample string 5</CompanyIdentifier>
    <CompanyName>sample string 4</CompanyName>
    <CreationDate>2025-12-13T11:12:39.6082916-03:00</CreationDate>
    <DaysLeft>21</DaysLeft>
    <DeleteDate>2025-12-13T11:12:39.6082916-03:00</DeleteDate>
    <Deleted>true</Deleted>
    <EndDate>2025-12-13T11:12:39.6082916-03:00</EndDate>
    <Id>1</Id>
    <IsTrial>true</IsTrial>
    <LifetimeValue>18.1</LifetimeValue>
    <MaxAccounts>8</MaxAccounts>
    <MaxComputers>10</MaxComputers>
    <MaxPrinters>7</MaxPrinters>
    <MaxServers>9</MaxServers>
    <MaxUsers>6</MaxUsers>
    <NextRecurrency>2025-12-13T11:12:39.6082916-03:00</NextRecurrency>
    <PlanId>19</PlanId>
    <PlanName>sample string 3</PlanName>
    <RecurrentPaymentId>sample string 23</RecurrentPaymentId>
    <RemainPrinters>22</RemainPrinters>
    <RenewPeriod>12</RenewPeriod>
    <Value>13.1</Value>
  </ContractModel>
  <ContractModel>
    <Active>true</Active>
    <Canceled>true</Canceled>
    <CanceledDate>2025-12-13T11:12:39.6082916-03:00</CanceledDate>
    <CanceledIdUser>27</CanceledIdUser>
    <ClientId>2</ClientId>
    <CompanyIdentifier>sample string 5</CompanyIdentifier>
    <CompanyName>sample string 4</CompanyName>
    <CreationDate>2025-12-13T11:12:39.6082916-03:00</CreationDate>
    <DaysLeft>21</DaysLeft>
    <DeleteDate>2025-12-13T11:12:39.6082916-03:00</DeleteDate>
    <Deleted>true</Deleted>
    <EndDate>2025-12-13T11:12:39.6082916-03:00</EndDate>
    <Id>1</Id>
    <IsTrial>true</IsTrial>
    <LifetimeValue>18.1</LifetimeValue>
    <MaxAccounts>8</MaxAccounts>
    <MaxComputers>10</MaxComputers>
    <MaxPrinters>7</MaxPrinters>
    <MaxServers>9</MaxServers>
    <MaxUsers>6</MaxUsers>
    <NextRecurrency>2025-12-13T11:12:39.6082916-03:00</NextRecurrency>
    <PlanId>19</PlanId>
    <PlanName>sample string 3</PlanName>
    <RecurrentPaymentId>sample string 23</RecurrentPaymentId>
    <RemainPrinters>22</RemainPrinters>
    <RenewPeriod>12</RenewPeriod>
    <Value>13.1</Value>
  </ContractModel>
</ArrayOfContractModel>