PUT api/st/subtasks?userID={userID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userID

integer

Required

Body Parameters

Collection of T_OMS_SubTasks
NameDescriptionTypeAdditional information
SubTaskID

integer

None.

TaskID

integer

None.

SubTaskName

string

None.

QTY

decimal number

None.

StartDate

date

None.

EndDate

date

None.

SubSecId

integer

None.

Remarks

string

None.

CreatedOn

date

None.

CreatedBy

integer

None.

UpdatedOn

date

None.

UpdatedBy

integer

None.

Nos

decimal number

None.

B

decimal number

None.

D

decimal number

None.

L

decimal number

None.

FromChainage

decimal number

None.

ToChainage

decimal number

None.

IsActive

boolean

None.

PrjCompId

integer

None.

TempCompID

integer

None.

TempEleID

integer

None.

IsPBAllow

boolean

None.

Sub_Pred

string

None.

Sub_Sucs

string

None.

Dur

integer

None.

RefCode

string

None.

stPCID

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "SubTaskID": 1,
    "TaskID": 2,
    "SubTaskName": "sample string 3",
    "QTY": 4.0,
    "StartDate": "2025-06-29T15:01:25.4759298+00:00",
    "EndDate": "2025-06-29T15:01:25.4759298+00:00",
    "SubSecId": 7,
    "Remarks": "sample string 8",
    "CreatedOn": "2025-06-29T15:01:25.4764593+00:00",
    "CreatedBy": 10,
    "UpdatedOn": "2025-06-29T15:01:25.4764593+00:00",
    "UpdatedBy": 12,
    "Nos": 13.0,
    "B": 14.0,
    "D": 15.0,
    "L": 16.0,
    "FromChainage": 17.0,
    "ToChainage": 18.0,
    "IsActive": true,
    "PrjCompId": 20,
    "TempCompID": 1,
    "TempEleID": 1,
    "IsPBAllow": true,
    "Sub_Pred": "sample string 22",
    "Sub_Sucs": "sample string 23",
    "Dur": 1,
    "RefCode": "sample string 24",
    "stPCID": 1
  },
  {
    "SubTaskID": 1,
    "TaskID": 2,
    "SubTaskName": "sample string 3",
    "QTY": 4.0,
    "StartDate": "2025-06-29T15:01:25.4759298+00:00",
    "EndDate": "2025-06-29T15:01:25.4759298+00:00",
    "SubSecId": 7,
    "Remarks": "sample string 8",
    "CreatedOn": "2025-06-29T15:01:25.4764593+00:00",
    "CreatedBy": 10,
    "UpdatedOn": "2025-06-29T15:01:25.4764593+00:00",
    "UpdatedBy": 12,
    "Nos": 13.0,
    "B": 14.0,
    "D": 15.0,
    "L": 16.0,
    "FromChainage": 17.0,
    "ToChainage": 18.0,
    "IsActive": true,
    "PrjCompId": 20,
    "TempCompID": 1,
    "TempEleID": 1,
    "IsPBAllow": true,
    "Sub_Pred": "sample string 22",
    "Sub_Sucs": "sample string 23",
    "Dur": 1,
    "RefCode": "sample string 24",
    "stPCID": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfT_OMS_SubTasks xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Login.Controllers.OMS">
  <T_OMS_SubTasks>
    <B>14</B>
    <CreatedBy>10</CreatedBy>
    <CreatedOn>2025-06-29T15:01:25.4764593+00:00</CreatedOn>
    <D>15</D>
    <Dur>1</Dur>
    <EndDate>2025-06-29T15:01:25.4759298+00:00</EndDate>
    <FromChainage>17</FromChainage>
    <IsActive>true</IsActive>
    <IsPBAllow>true</IsPBAllow>
    <L>16</L>
    <Nos>13</Nos>
    <PrjCompId>20</PrjCompId>
    <QTY>4</QTY>
    <RefCode>sample string 24</RefCode>
    <Remarks>sample string 8</Remarks>
    <StartDate>2025-06-29T15:01:25.4759298+00:00</StartDate>
    <SubSecId>7</SubSecId>
    <SubTaskID>1</SubTaskID>
    <SubTaskName>sample string 3</SubTaskName>
    <Sub_Pred>sample string 22</Sub_Pred>
    <Sub_Sucs>sample string 23</Sub_Sucs>
    <TaskID>2</TaskID>
    <TempCompID>1</TempCompID>
    <TempEleID>1</TempEleID>
    <ToChainage>18</ToChainage>
    <UpdatedBy>12</UpdatedBy>
    <UpdatedOn>2025-06-29T15:01:25.4764593+00:00</UpdatedOn>
    <stPCID>1</stPCID>
  </T_OMS_SubTasks>
  <T_OMS_SubTasks>
    <B>14</B>
    <CreatedBy>10</CreatedBy>
    <CreatedOn>2025-06-29T15:01:25.4764593+00:00</CreatedOn>
    <D>15</D>
    <Dur>1</Dur>
    <EndDate>2025-06-29T15:01:25.4759298+00:00</EndDate>
    <FromChainage>17</FromChainage>
    <IsActive>true</IsActive>
    <IsPBAllow>true</IsPBAllow>
    <L>16</L>
    <Nos>13</Nos>
    <PrjCompId>20</PrjCompId>
    <QTY>4</QTY>
    <RefCode>sample string 24</RefCode>
    <Remarks>sample string 8</Remarks>
    <StartDate>2025-06-29T15:01:25.4759298+00:00</StartDate>
    <SubSecId>7</SubSecId>
    <SubTaskID>1</SubTaskID>
    <SubTaskName>sample string 3</SubTaskName>
    <Sub_Pred>sample string 22</Sub_Pred>
    <Sub_Sucs>sample string 23</Sub_Sucs>
    <TaskID>2</TaskID>
    <TempCompID>1</TempCompID>
    <TempEleID>1</TempEleID>
    <ToChainage>18</ToChainage>
    <UpdatedBy>12</UpdatedBy>
    <UpdatedOn>2025-06-29T15:01:25.4764593+00:00</UpdatedOn>
    <stPCID>1</stPCID>
  </T_OMS_SubTasks>
</ArrayOfT_OMS_SubTasks>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.