POST api/JobLot/Save

Request Information

URI Parameters

None.

Body Parameters

JobLot
NameDescriptionTypeAdditional information
IsApproved

boolean

None.

PostState

boolean

None.

EndDate

date

None.

EntryDate

date

None.

ModifyDate

date

None.

PostDate

date

None.

StartDate

date

None.

CompanyId

integer

None.

EntryUser

integer

None.

Id

integer

None.

ModifyUser

integer

None.

OrganizationId

integer

None.

PostUser

integer

None.

JobLotCode

string

None.

JobLotDescription

string

None.

JobStatus

string

None.

JobTypeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IsApproved": true,
  "PostState": true,
  "EndDate": "2025-10-29T13:14:31.3536856+05:00",
  "EntryDate": "2025-10-29T13:14:31.3536856+05:00",
  "ModifyDate": "2025-10-29T13:14:31.3536856+05:00",
  "PostDate": "2025-10-29T13:14:31.3536856+05:00",
  "StartDate": "2025-10-29T13:14:31.3536856+05:00",
  "CompanyId": 7,
  "EntryUser": 8,
  "Id": 9,
  "ModifyUser": 10,
  "OrganizationId": 11,
  "PostUser": 12,
  "JobLotCode": "sample string 13",
  "JobLotDescription": "sample string 14",
  "JobStatus": "sample string 15",
  "JobTypeId": 16
}

application/xml, text/xml

Sample:
<JobLot xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.Inventory">
  <CompanyId>7</CompanyId>
  <EndDate>2025-10-29T13:14:31.3536856+05:00</EndDate>
  <EntryDate>2025-10-29T13:14:31.3536856+05:00</EntryDate>
  <EntryUser>8</EntryUser>
  <Id>9</Id>
  <IsApproved>true</IsApproved>
  <JobLotCode>sample string 13</JobLotCode>
  <JobLotDescription>sample string 14</JobLotDescription>
  <JobStatus>sample string 15</JobStatus>
  <JobTypeId>16</JobTypeId>
  <ModifyDate>2025-10-29T13:14:31.3536856+05:00</ModifyDate>
  <ModifyUser>10</ModifyUser>
  <OrganizationId>11</OrganizationId>
  <PostDate>2025-10-29T13:14:31.3536856+05:00</PostDate>
  <PostState>true</PostState>
  <PostUser>12</PostUser>
  <StartDate>2025-10-29T13:14:31.3536856+05:00</StartDate>
</JobLot>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'JobLot'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.