POST api/ProductionOrder/POSTProductionPlanningItemWiseRate?Month={Month}&Year={Year}&BranchCode={BranchCode}&UserId={UserId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Month

string

Required

Year

integer

Required

BranchCode

integer

Required

UserId

integer

Required

Body Parameters

Collection of C_P_ProductionPlanningItemWiseMaster
NameDescriptionTypeAdditional information
Id

integer

None.

Month

string

None.

Year

integer

None.

ItemCode

string

None.

ProductionQty

decimal number

None.

PendingQty

decimal number

None.

BranchCode

integer

None.

CreatedBy

integer

None.

CreatedOn

date

None.

ModifiedBy

integer

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Month": "sample string 2",
    "Year": 3,
    "ItemCode": "sample string 4",
    "ProductionQty": 5.0,
    "PendingQty": 6.0,
    "BranchCode": 7,
    "CreatedBy": 1,
    "CreatedOn": "2024-04-28T02:36:58.5322777+00:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-04-28T02:36:58.5322777+00:00"
  },
  {
    "Id": 1,
    "Month": "sample string 2",
    "Year": 3,
    "ItemCode": "sample string 4",
    "ProductionQty": 5.0,
    "PendingQty": 6.0,
    "BranchCode": 7,
    "CreatedBy": 1,
    "CreatedOn": "2024-04-28T02:36:58.5322777+00:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-04-28T02:36:58.5322777+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfC_P_ProductionPlanningItemWiseMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <C_P_ProductionPlanningItemWiseMaster>
    <BranchCode>7</BranchCode>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-28T02:36:58.5322777+00:00</CreatedOn>
    <Id>1</Id>
    <ItemCode>sample string 4</ItemCode>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-04-28T02:36:58.5322777+00:00</ModifiedOn>
    <Month>sample string 2</Month>
    <PendingQty>6</PendingQty>
    <ProductionQty>5</ProductionQty>
    <Year>3</Year>
  </C_P_ProductionPlanningItemWiseMaster>
  <C_P_ProductionPlanningItemWiseMaster>
    <BranchCode>7</BranchCode>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-28T02:36:58.5322777+00:00</CreatedOn>
    <Id>1</Id>
    <ItemCode>sample string 4</ItemCode>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-04-28T02:36:58.5322777+00:00</ModifiedOn>
    <Month>sample string 2</Month>
    <PendingQty>6</PendingQty>
    <ProductionQty>5</ProductionQty>
    <Year>3</Year>
  </C_P_ProductionPlanningItemWiseMaster>
</ArrayOfC_P_ProductionPlanningItemWiseMaster>

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 'C_P_ProductionPlanningItemWiseMaster[]'.

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.