POST api/projectbatch

Request Information

URI Parameters

None.

Body Parameters

ProjectBatch
NameDescriptionTypeAdditional information
SlNo

integer

None.

ProjectBatchID

integer

None.

ProjectID

integer

Required

CustomerCode

string

Required

String length: inclusive between 0 and 3

ProjectCode

string

Required

String length: inclusive between 0 and 5

BatchNo

string

None.

Scope

string

None.

InputCount

integer

Required

InputCountType

string

Required

String length: inclusive between 0 and 1

ReceivedDate

date

Required

ReceivedFormat

string

Required

OutputFormat

string

Required

PlannedStartDate

date

Required

PlannedDeliveryDate

date

Required

Remarks

string

None.

CustomerInputFileName

string

Required

Status

string

None.

DeliveredDate

date

None.

DeliveredCount

integer

None.

UserID

string

Required

String length: inclusive between 0 and 50

canUserDeliverProjectBatch

boolean

None.

IsPostProjectBatchDetailsExist

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SlNo": 1,
  "ProjectBatchID": 2,
  "ProjectID": 3,
  "CustomerCode": "sample string 4",
  "ProjectCode": "sample string 5",
  "BatchNo": "sample string 6",
  "Scope": "sample string 7",
  "InputCount": 8,
  "InputCountType": "sample string 9",
  "ReceivedDate": "2025-12-06T09:51:43.537274+05:30",
  "ReceivedFormat": "sample string 11",
  "OutputFormat": "sample string 12",
  "PlannedStartDate": "2025-12-06T09:51:43.537274+05:30",
  "PlannedDeliveryDate": "2025-12-06T09:51:43.537274+05:30",
  "Remarks": "sample string 15",
  "CustomerInputFileName": "sample string 16",
  "Status": "sample string 17",
  "DeliveredDate": "2025-12-06T09:51:43.5382735+05:30",
  "DeliveredCount": 18,
  "UserID": "sample string 19",
  "canUserDeliverProjectBatch": true,
  "IsPostProjectBatchDetailsExist": true
}

application/xml, text/xml

Sample:
<ProjectBatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GOPWebAPI.Models">
  <BatchNo>sample string 6</BatchNo>
  <CustomerCode>sample string 4</CustomerCode>
  <CustomerInputFileName>sample string 16</CustomerInputFileName>
  <DeliveredCount>18</DeliveredCount>
  <DeliveredDate>2025-12-06T09:51:43.5382735+05:30</DeliveredDate>
  <InputCount>8</InputCount>
  <InputCountType>sample string 9</InputCountType>
  <IsPostProjectBatchDetailsExist>true</IsPostProjectBatchDetailsExist>
  <OutputFormat>sample string 12</OutputFormat>
  <PlannedDeliveryDate>2025-12-06T09:51:43.537274+05:30</PlannedDeliveryDate>
  <PlannedStartDate>2025-12-06T09:51:43.537274+05:30</PlannedStartDate>
  <ProjectBatchID>2</ProjectBatchID>
  <ProjectCode>sample string 5</ProjectCode>
  <ProjectID>3</ProjectID>
  <ReceivedDate>2025-12-06T09:51:43.537274+05:30</ReceivedDate>
  <ReceivedFormat>sample string 11</ReceivedFormat>
  <Remarks>sample string 15</Remarks>
  <Scope>sample string 7</Scope>
  <SlNo>1</SlNo>
  <Status>sample string 17</Status>
  <UserID>sample string 19</UserID>
  <canUserDeliverProjectBatch>true</canUserDeliverProjectBatch>
</ProjectBatch>

multipart/form-data

Sample:
<ProjectBatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GOPWebAPI.Models"><BatchNo>sample string 6</BatchNo><CustomerCode>sample string 4</CustomerCode><CustomerInputFileName>sample string 16</CustomerInputFileName><DeliveredCount>18</DeliveredCount><DeliveredDate>2025-12-06T09:51:43.5382735+05:30</DeliveredDate><InputCount>8</InputCount><InputCountType>sample string 9</InputCountType><IsPostProjectBatchDetailsExist>true</IsPostProjectBatchDetailsExist><OutputFormat>sample string 12</OutputFormat><PlannedDeliveryDate>2025-12-06T09:51:43.537274+05:30</PlannedDeliveryDate><PlannedStartDate>2025-12-06T09:51:43.537274+05:30</PlannedStartDate><ProjectBatchID>2</ProjectBatchID><ProjectCode>sample string 5</ProjectCode><ProjectID>3</ProjectID><ReceivedDate>2025-12-06T09:51:43.537274+05:30</ReceivedDate><ReceivedFormat>sample string 11</ReceivedFormat><Remarks>sample string 15</Remarks><Scope>sample string 7</Scope><SlNo>1</SlNo><Status>sample string 17</Status><UserID>sample string 19</UserID><canUserDeliverProjectBatch>true</canUserDeliverProjectBatch></ProjectBatch>

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.