POST api/quotaallocation/ou/add

Request Information

URI Parameters

None.

Body Parameters

QuotaAllocationDTO
NameDescriptionTypeAdditional information
Id

integer

None.

OuId

integer

None.

ProjectId

integer

None.

QuotaAllocated

decimal number

None.

Status

string

None.

StartDate

date

None.

EndDate

date

None.

RequestedBy

integer

None.

Approvedby

integer

None.

Remarks

string

None.

OUName

string

None.

ProjectName

string

None.

Consumption

decimal number

None.

PercentUsed

decimal number

None.

CustomerId

integer

None.

AlertThreshold

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "OuId": 1,
  "ProjectId": 1,
  "QuotaAllocated": 1.0,
  "Status": "sample string 2",
  "StartDate": "2025-09-05T08:31:24.0999958+00:00",
  "EndDate": "2025-09-05T08:31:24.0999958+00:00",
  "RequestedBy": 5,
  "Approvedby": 1,
  "Remarks": "sample string 6",
  "OUName": "sample string 7",
  "ProjectName": "sample string 8",
  "Consumption": 1.0,
  "PercentUsed": 100.0,
  "CustomerId": 1,
  "AlertThreshold": 9
}

application/xml, text/xml

Sample:
<QuotaAllocationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CA.BLayer.Common.Model">
  <AlertThreshold>9</AlertThreshold>
  <Approvedby>1</Approvedby>
  <Consumption>1</Consumption>
  <CustomerId>1</CustomerId>
  <EndDate>2025-09-05T08:31:24.0999958+00:00</EndDate>
  <Id>1</Id>
  <OUName>sample string 7</OUName>
  <OuId>1</OuId>
  <PercentUsed>100</PercentUsed>
  <ProjectId>1</ProjectId>
  <ProjectName>sample string 8</ProjectName>
  <QuotaAllocated>1</QuotaAllocated>
  <Remarks>sample string 6</Remarks>
  <RequestedBy>5</RequestedBy>
  <StartDate>2025-09-05T08:31:24.0999958+00:00</StartDate>
  <Status>sample string 2</Status>
</QuotaAllocationDTO>

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.