POST api/Values/SORequest

Request Information

URI Parameters

None.

Body Parameters

SORequest
NameDescriptionTypeAdditional information
CompCode

string

None.

FY

string

None.

SORequestHeader

Collection of SORequestHeader

None.

SORequestDetails

Collection of SORequestDetails

None.

Request Formats

application/json, text/json

Sample:
{
  "CompCode": "sample string 1",
  "FY": "sample string 2",
  "SORequestHeader": [
    {
      "Code": "sample string 1",
      "Customer": "sample string 2",
      "CustomerName": "sample string 3",
      "SODate": "sample string 4",
      "DelDate": "sample string 5",
      "ExpDate": "sample string 6",
      "Qty": "sample string 7",
      "Rate": "sample string 8",
      "Istatus": "sample string 9",
      "ISApproved": "sample string 10",
      "IsUnApproved": "sample string 11"
    },
    {
      "Code": "sample string 1",
      "Customer": "sample string 2",
      "CustomerName": "sample string 3",
      "SODate": "sample string 4",
      "DelDate": "sample string 5",
      "ExpDate": "sample string 6",
      "Qty": "sample string 7",
      "Rate": "sample string 8",
      "Istatus": "sample string 9",
      "ISApproved": "sample string 10",
      "IsUnApproved": "sample string 11"
    }
  ],
  "SORequestDetails": [
    {
      "Code": 1,
      "Srno": 2,
      "Grade": 3,
      "Cat": 4,
      "Qty": 5.1,
      "Rate": 6.1
    },
    {
      "Code": 1,
      "Srno": 2,
      "Grade": 3,
      "Cat": 4,
      "Qty": 5.1,
      "Rate": 6.1
    }
  ]
}

text/html

Sample:
{"CompCode":"sample string 1","FY":"sample string 2","SORequestHeader":[{"Code":"sample string 1","Customer":"sample string 2","CustomerName":"sample string 3","SODate":"sample string 4","DelDate":"sample string 5","ExpDate":"sample string 6","Qty":"sample string 7","Rate":"sample string 8","Istatus":"sample string 9","ISApproved":"sample string 10","IsUnApproved":"sample string 11"},{"Code":"sample string 1","Customer":"sample string 2","CustomerName":"sample string 3","SODate":"sample string 4","DelDate":"sample string 5","ExpDate":"sample string 6","Qty":"sample string 7","Rate":"sample string 8","Istatus":"sample string 9","ISApproved":"sample string 10","IsUnApproved":"sample string 11"}],"SORequestDetails":[{"Code":1,"Srno":2,"Grade":3,"Cat":4,"Qty":5.1,"Rate":6.1},{"Code":1,"Srno":2,"Grade":3,"Cat":4,"Qty":5.1,"Rate":6.1}]}

application/xml, text/xml

Sample:
<SORequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExcellentErp.Models">
  <CompCode>sample string 1</CompCode>
  <FY>sample string 2</FY>
  <SORequestDetails>
    <SORequestDetails>
      <Cat>4</Cat>
      <Code>1</Code>
      <Grade>3</Grade>
      <Qty>5.1</Qty>
      <Rate>6.1</Rate>
      <Srno>2</Srno>
    </SORequestDetails>
    <SORequestDetails>
      <Cat>4</Cat>
      <Code>1</Code>
      <Grade>3</Grade>
      <Qty>5.1</Qty>
      <Rate>6.1</Rate>
      <Srno>2</Srno>
    </SORequestDetails>
  </SORequestDetails>
  <SORequestHeader>
    <SORequestHeader>
      <Code>sample string 1</Code>
      <Customer>sample string 2</Customer>
      <CustomerName>sample string 3</CustomerName>
      <DelDate>sample string 5</DelDate>
      <ExpDate>sample string 6</ExpDate>
      <ISApproved>sample string 10</ISApproved>
      <IsUnApproved>sample string 11</IsUnApproved>
      <Istatus>sample string 9</Istatus>
      <Qty>sample string 7</Qty>
      <Rate>sample string 8</Rate>
      <SODate>sample string 4</SODate>
    </SORequestHeader>
    <SORequestHeader>
      <Code>sample string 1</Code>
      <Customer>sample string 2</Customer>
      <CustomerName>sample string 3</CustomerName>
      <DelDate>sample string 5</DelDate>
      <ExpDate>sample string 6</ExpDate>
      <ISApproved>sample string 10</ISApproved>
      <IsUnApproved>sample string 11</IsUnApproved>
      <Istatus>sample string 9</Istatus>
      <Qty>sample string 7</Qty>
      <Rate>sample string 8</Rate>
      <SODate>sample string 4</SODate>
    </SORequestHeader>
  </SORequestHeader>
</SORequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json, text/html

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />