POST api/Values/JSONTODATACONVERT

Request Information

URI Parameters

None.

Body Parameters

SCANDATAHEADER
NameDescriptionTypeAdditional information
CompCode

string

None.

FY

string

None.

FCode

integer

None.

SCANDATADETAILS

Collection of SCANDATADETAILS

None.

Request Formats

application/json, text/json

Sample:
{
  "CompCode": "sample string 1",
  "FY": "sample string 2",
  "FCode": 3,
  "SCANDATADETAILS": [
    {
      "ItemCode": "sample string 1",
      "ItemDetail": "sample string 2",
      "Ok": "sample string 3",
      "ScanDate": "sample string 4",
      "UserName": "sample string 5",
      "Codestr": "sample string 6"
    },
    {
      "ItemCode": "sample string 1",
      "ItemDetail": "sample string 2",
      "Ok": "sample string 3",
      "ScanDate": "sample string 4",
      "UserName": "sample string 5",
      "Codestr": "sample string 6"
    }
  ]
}

text/html

Sample:
{"CompCode":"sample string 1","FY":"sample string 2","FCode":3,"SCANDATADETAILS":[{"ItemCode":"sample string 1","ItemDetail":"sample string 2","Ok":"sample string 3","ScanDate":"sample string 4","UserName":"sample string 5","Codestr":"sample string 6"},{"ItemCode":"sample string 1","ItemDetail":"sample string 2","Ok":"sample string 3","ScanDate":"sample string 4","UserName":"sample string 5","Codestr":"sample string 6"}]}

application/xml, text/xml

Sample:
<SCANDATAHEADER xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExcellentErp.Models">
  <CompCode>sample string 1</CompCode>
  <FCode>3</FCode>
  <FY>sample string 2</FY>
  <SCANDATADETAILS>
    <SCANDATADETAILS>
      <Codestr>sample string 6</Codestr>
      <ItemCode>sample string 1</ItemCode>
      <ItemDetail>sample string 2</ItemDetail>
      <Ok>sample string 3</Ok>
      <ScanDate>sample string 4</ScanDate>
      <UserName>sample string 5</UserName>
    </SCANDATADETAILS>
    <SCANDATADETAILS>
      <Codestr>sample string 6</Codestr>
      <ItemCode>sample string 1</ItemCode>
      <ItemDetail>sample string 2</ItemDetail>
      <Ok>sample string 3</Ok>
      <ScanDate>sample string 4</ScanDate>
      <UserName>sample string 5</UserName>
    </SCANDATADETAILS>
  </SCANDATADETAILS>
</SCANDATAHEADER>

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/" />