POST api/PBXMLStockCategory/AddPBXMLStockCategories

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objPBXMLStockCategories
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "cccd": "sample string 1",
  "STOCKCATEGORY": "sample string 2",
  "NAME": "sample string 3",
  "RESERVEDNAME": "sample string 4",
  "ALTERID": "sample string 5",
  "StockCatNo": 6,
  "STATUS": "sample string 7",
  "SYSTEM": "sample string 8",
  "DATE": "sample string 9",
  "GUID": "sample string 10",
  "PARENT": "sample string 11",
  "ISUPDATINGTARGETID": "sample string 12",
  "ASORIGINAL": "sample string 13",
  "LANGUAGENAMELIST": [
    {
      "NAMELIST": [
        {
          "NAME": "sample string 1"
        },
        {
          "NAME": "sample string 1"
        },
        {
          "NAME": "sample string 1"
        }
      ],
      "LANGUAGEID": "sample string 1"
    },
    {
      "NAMELIST": [
        {
          "NAME": "sample string 1"
        },
        {
          "NAME": "sample string 1"
        },
        {
          "NAME": "sample string 1"
        }
      ],
      "LANGUAGEID": "sample string 1"
    },
    {
      "NAMELIST": [
        {
          "NAME": "sample string 1"
        },
        {
          "NAME": "sample string 1"
        },
        {
          "NAME": "sample string 1"
        }
      ],
      "LANGUAGEID": "sample string 1"
    }
  ],
  "CREATEDSYSTEM": "sample string 14",
  "LASTUPDATEDSYSTEM": "sample string 15",
  "UID": 16,
  "USERNAME": "sample string 17",
  "LUID": 18,
  "LUSERNAME": "sample string 19",
  "CREATEDDATE": "2024-11-23T19:07:15.3548119+05:30",
  "LASTUPDATEDDATE": "2024-11-23T19:07:15.3548119+05:30",
  "XMLVAR": "sample string 22"
}

text/html

Sample:
{"cccd":"sample string 1","STOCKCATEGORY":"sample string 2","NAME":"sample string 3","RESERVEDNAME":"sample string 4","ALTERID":"sample string 5","StockCatNo":6,"STATUS":"sample string 7","SYSTEM":"sample string 8","DATE":"sample string 9","GUID":"sample string 10","PARENT":"sample string 11","ISUPDATINGTARGETID":"sample string 12","ASORIGINAL":"sample string 13","LANGUAGENAMELIST":[{"NAMELIST":[{"NAME":"sample string 1"},{"NAME":"sample string 1"},{"NAME":"sample string 1"}],"LANGUAGEID":"sample string 1"},{"NAMELIST":[{"NAME":"sample string 1"},{"NAME":"sample string 1"},{"NAME":"sample string 1"}],"LANGUAGEID":"sample string 1"},{"NAMELIST":[{"NAME":"sample string 1"},{"NAME":"sample string 1"},{"NAME":"sample string 1"}],"LANGUAGEID":"sample string 1"}],"CREATEDSYSTEM":"sample string 14","LASTUPDATEDSYSTEM":"sample string 15","UID":16,"USERNAME":"sample string 17","LUID":18,"LUSERNAME":"sample string 19","CREATEDDATE":"2024-11-23T19:07:15.3548119+05:30","LASTUPDATEDDATE":"2024-11-23T19:07:15.3548119+05:30","XMLVAR":"sample string 22"}

application/xml, text/xml

Sample:
<PBXMLStockCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerAPI.Models">
  <ALTERID>sample string 5</ALTERID>
  <ASORIGINAL>sample string 13</ASORIGINAL>
  <CREATEDDATE>2024-11-23T19:07:15.3548119+05:30</CREATEDDATE>
  <CREATEDSYSTEM>sample string 14</CREATEDSYSTEM>
  <DATE>sample string 9</DATE>
  <GUID>sample string 10</GUID>
  <ISUPDATINGTARGETID>sample string 12</ISUPDATINGTARGETID>
  <LANGUAGENAMELIST>
    <PBXLanguageName>
      <LANGUAGEID>sample string 1</LANGUAGEID>
      <NAMELIST>
        <PBXName>
          <NAME>sample string 1</NAME>
        </PBXName>
        <PBXName>
          <NAME>sample string 1</NAME>
        </PBXName>
        <PBXName>
          <NAME>sample string 1</NAME>
        </PBXName>
      </NAMELIST>
    </PBXLanguageName>
    <PBXLanguageName>
      <LANGUAGEID>sample string 1</LANGUAGEID>
      <NAMELIST>
        <PBXName>
          <NAME>sample string 1</NAME>
        </PBXName>
        <PBXName>
          <NAME>sample string 1</NAME>
        </PBXName>
        <PBXName>
          <NAME>sample string 1</NAME>
        </PBXName>
      </NAMELIST>
    </PBXLanguageName>
    <PBXLanguageName>
      <LANGUAGEID>sample string 1</LANGUAGEID>
      <NAMELIST>
        <PBXName>
          <NAME>sample string 1</NAME>
        </PBXName>
        <PBXName>
          <NAME>sample string 1</NAME>
        </PBXName>
        <PBXName>
          <NAME>sample string 1</NAME>
        </PBXName>
      </NAMELIST>
    </PBXLanguageName>
  </LANGUAGENAMELIST>
  <LASTUPDATEDDATE>2024-11-23T19:07:15.3548119+05:30</LASTUPDATEDDATE>
  <LASTUPDATEDSYSTEM>sample string 15</LASTUPDATEDSYSTEM>
  <LUID>18</LUID>
  <LUSERNAME>sample string 19</LUSERNAME>
  <NAME>sample string 3</NAME>
  <PARENT>sample string 11</PARENT>
  <RESERVEDNAME>sample string 4</RESERVEDNAME>
  <STATUS>sample string 7</STATUS>
  <STOCKCATEGORY>sample string 2</STOCKCATEGORY>
  <SYSTEM>sample string 8</SYSTEM>
  <StockCatNo>6</StockCatNo>
  <UID>16</UID>
  <USERNAME>sample string 17</USERNAME>
  <XMLVAR>sample string 22</XMLVAR>
  <cccd>sample string 1</cccd>
</PBXMLStockCategory>

application/x-www-form-urlencoded

Sample:

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Status": true,
  "ErrorMessage": "sample string 2"
}

text/html

Sample:
{"Status":true,"ErrorMessage":"sample string 2"}

application/xml, text/xml

Sample:
<StatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerAPI.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Status>true</Status>
</StatusResponse>