POST api/postprojectbatchdetails

Request Information

URI Parameters

None.

Body Parameters

PostProjectBatchDetailsModel
NameDescriptionTypeAdditional information
CustomerCode

string

Required

String length: inclusive between 0 and 3

ProjectCode

string

Required

String length: inclusive between 0 and 5

BatchNo

string

Required

String length: inclusive between 0 and 4

DuplicateCount

integer

Required

ExceptionalCount

integer

Required

NotProcessedCount

integer

Required

QCSamplingPercentage

decimal number

Required

QCErrorRate

decimal number

Required

QASamplingPercentage

decimal number

Required

QAErrorRate

decimal number

Required

Remarks

string

None.

CAPADetails

string

None.

UserID

string

Required

String length: inclusive between 0 and 50

Request Formats

application/json, text/json

Sample:
{
  "CustomerCode": "sample string 1",
  "ProjectCode": "sample string 2",
  "BatchNo": "sample string 3",
  "DuplicateCount": 4,
  "ExceptionalCount": 5,
  "NotProcessedCount": 6,
  "QCSamplingPercentage": 7.0,
  "QCErrorRate": 8.0,
  "QASamplingPercentage": 9.0,
  "QAErrorRate": 10.0,
  "Remarks": "sample string 11",
  "CAPADetails": "sample string 12",
  "UserID": "sample string 13"
}

application/xml, text/xml

Sample:
<PostProjectBatchDetailsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GOPWebAPI.Models">
  <BatchNo>sample string 3</BatchNo>
  <CAPADetails>sample string 12</CAPADetails>
  <CustomerCode>sample string 1</CustomerCode>
  <DuplicateCount>4</DuplicateCount>
  <ExceptionalCount>5</ExceptionalCount>
  <NotProcessedCount>6</NotProcessedCount>
  <ProjectCode>sample string 2</ProjectCode>
  <QAErrorRate>10</QAErrorRate>
  <QASamplingPercentage>9</QASamplingPercentage>
  <QCErrorRate>8</QCErrorRate>
  <QCSamplingPercentage>7</QCSamplingPercentage>
  <Remarks>sample string 11</Remarks>
  <UserID>sample string 13</UserID>
</PostProjectBatchDetailsModel>

multipart/form-data

Sample:
<PostProjectBatchDetailsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GOPWebAPI.Models"><BatchNo>sample string 3</BatchNo><CAPADetails>sample string 12</CAPADetails><CustomerCode>sample string 1</CustomerCode><DuplicateCount>4</DuplicateCount><ExceptionalCount>5</ExceptionalCount><NotProcessedCount>6</NotProcessedCount><ProjectCode>sample string 2</ProjectCode><QAErrorRate>10</QAErrorRate><QASamplingPercentage>9</QASamplingPercentage><QCErrorRate>8</QCErrorRate><QCSamplingPercentage>7</QCSamplingPercentage><Remarks>sample string 11</Remarks><UserID>sample string 13</UserID></PostProjectBatchDetailsModel>

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.