POST api/UserPlan/Update/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

UserPlan
NameDescriptionTypeAdditional information
Id

integer

None.

PlanId

integer

None.

UserId

integer

None.

StartDate

date

None.

Name

string

None.

NumberOfMachines

string

None.

IsActive

boolean

None.

IsApproved

boolean

None.

CreatedBy

integer

None.

CreatedDate

date

None.

LastModifiedBy

integer

None.

LastModifiedDate

date

None.

DeletedBy

integer

None.

DeletedDate

date

None.

CustomerPlanName

string

None.

UserCompanyName

string

None.

TotalNumberOfCreateMachinesCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PlanId": 2,
  "UserId": 3,
  "StartDate": "2025-08-29T20:24:22.0928948+00:00",
  "Name": "sample string 5",
  "NumberOfMachines": "sample string 6",
  "IsActive": true,
  "IsApproved": true,
  "CreatedBy": 9,
  "CreatedDate": "2025-08-29T20:24:22.0928948+00:00",
  "LastModifiedBy": 11,
  "LastModifiedDate": "2025-08-29T20:24:22.0928948+00:00",
  "DeletedBy": 1,
  "DeletedDate": "2025-08-29T20:24:22.0928948+00:00",
  "CustomerPlanName": "sample string 13",
  "UserCompanyName": "sample string 14",
  "TotalNumberOfCreateMachinesCount": 15
}

application/xml, text/xml

Sample:
<UserPlan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain">
  <CreatedBy>9</CreatedBy>
  <CreatedDate>2025-08-29T20:24:22.0928948+00:00</CreatedDate>
  <CustomerPlanName>sample string 13</CustomerPlanName>
  <DeletedBy>1</DeletedBy>
  <DeletedDate>2025-08-29T20:24:22.0928948+00:00</DeletedDate>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsApproved>true</IsApproved>
  <LastModifiedBy>11</LastModifiedBy>
  <LastModifiedDate>2025-08-29T20:24:22.0928948+00:00</LastModifiedDate>
  <Name>sample string 5</Name>
  <NumberOfMachines>sample string 6</NumberOfMachines>
  <PlanId>2</PlanId>
  <StartDate>2025-08-29T20:24:22.0928948+00:00</StartDate>
  <TotalNumberOfCreateMachinesCount>15</TotalNumberOfCreateMachinesCount>
  <UserCompanyName>sample string 14</UserCompanyName>
  <UserId>3</UserId>
</UserPlan>

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.