POST api/PBXMLParameter/AddPBXMLParameterType

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objPBXMLParameter
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ParTypeID": 1,
  "ParTypeCode": "sample string 2",
  "ParTypeDescription": "sample string 3",
  "ParTypeStatus": "sample string 4",
  "ParTypeCreatedBy": 5,
  "ParTypeCreatedBySpecified": true,
  "ParTypeCreatedDate": "2024-11-23T18:52:49.6575406+05:30",
  "ParTypeCreatedDateSpecified": true,
  "ParTypeLastUpdatedBy": 9,
  "ParTypeLastUpdatedBySpecified": true,
  "ParTypeLastUpdateDate": "2024-11-23T18:52:49.6585423+05:30",
  "ParTypeLastUpdateDateSpecified": true,
  "cccd": "sample string 13",
  "XMLVAR": "sample string 14",
  "PARAMETERCODELIST": [
    {
      "ParCodeID": 1,
      "ParCodeTypeID": 2,
      "ParCodeCode": "sample string 3",
      "ParCodeDescription": "sample string 4",
      "ParCodeCity": 5,
      "ParCodeHQ": 6,
      "ParCodeASMHQ": 7,
      "ParCodeRSMHQ": 8,
      "ParCodeStatus": "sample string 9",
      "ParCodeCreatedBy": 10,
      "ParCodeCreatedDate": "2024-11-23T18:52:49.6595414+05:30",
      "ParCodeApprovedByASM": 12,
      "ParCodeApprovedByRSM": 13,
      "ParCodeApprovedDate": "2024-11-23T18:52:49.6595414+05:30",
      "ParCodeLastUpdatedBy": 15,
      "ParCodeLastUpdateDate": "2024-11-23T18:52:49.6595414+05:30",
      "cccd": "sample string 17",
      "XMLVAR": "sample string 18"
    },
    {
      "ParCodeID": 1,
      "ParCodeTypeID": 2,
      "ParCodeCode": "sample string 3",
      "ParCodeDescription": "sample string 4",
      "ParCodeCity": 5,
      "ParCodeHQ": 6,
      "ParCodeASMHQ": 7,
      "ParCodeRSMHQ": 8,
      "ParCodeStatus": "sample string 9",
      "ParCodeCreatedBy": 10,
      "ParCodeCreatedDate": "2024-11-23T18:52:49.6595414+05:30",
      "ParCodeApprovedByASM": 12,
      "ParCodeApprovedByRSM": 13,
      "ParCodeApprovedDate": "2024-11-23T18:52:49.6595414+05:30",
      "ParCodeLastUpdatedBy": 15,
      "ParCodeLastUpdateDate": "2024-11-23T18:52:49.6595414+05:30",
      "cccd": "sample string 17",
      "XMLVAR": "sample string 18"
    },
    {
      "ParCodeID": 1,
      "ParCodeTypeID": 2,
      "ParCodeCode": "sample string 3",
      "ParCodeDescription": "sample string 4",
      "ParCodeCity": 5,
      "ParCodeHQ": 6,
      "ParCodeASMHQ": 7,
      "ParCodeRSMHQ": 8,
      "ParCodeStatus": "sample string 9",
      "ParCodeCreatedBy": 10,
      "ParCodeCreatedDate": "2024-11-23T18:52:49.6595414+05:30",
      "ParCodeApprovedByASM": 12,
      "ParCodeApprovedByRSM": 13,
      "ParCodeApprovedDate": "2024-11-23T18:52:49.6595414+05:30",
      "ParCodeLastUpdatedBy": 15,
      "ParCodeLastUpdateDate": "2024-11-23T18:52:49.6595414+05:30",
      "cccd": "sample string 17",
      "XMLVAR": "sample string 18"
    }
  ]
}

text/html

Sample:
{"ParTypeID":1,"ParTypeCode":"sample string 2","ParTypeDescription":"sample string 3","ParTypeStatus":"sample string 4","ParTypeCreatedBy":5,"ParTypeCreatedBySpecified":true,"ParTypeCreatedDate":"2024-11-23T18:52:49.6575406+05:30","ParTypeCreatedDateSpecified":true,"ParTypeLastUpdatedBy":9,"ParTypeLastUpdatedBySpecified":true,"ParTypeLastUpdateDate":"2024-11-23T18:52:49.6585423+05:30","ParTypeLastUpdateDateSpecified":true,"cccd":"sample string 13","XMLVAR":"sample string 14","PARAMETERCODELIST":[{"ParCodeID":1,"ParCodeTypeID":2,"ParCodeCode":"sample string 3","ParCodeDescription":"sample string 4","ParCodeCity":5,"ParCodeHQ":6,"ParCodeASMHQ":7,"ParCodeRSMHQ":8,"ParCodeStatus":"sample string 9","ParCodeCreatedBy":10,"ParCodeCreatedDate":"2024-11-23T18:52:49.6595414+05:30","ParCodeApprovedByASM":12,"ParCodeApprovedByRSM":13,"ParCodeApprovedDate":"2024-11-23T18:52:49.6595414+05:30","ParCodeLastUpdatedBy":15,"ParCodeLastUpdateDate":"2024-11-23T18:52:49.6595414+05:30","cccd":"sample string 17","XMLVAR":"sample string 18"},{"ParCodeID":1,"ParCodeTypeID":2,"ParCodeCode":"sample string 3","ParCodeDescription":"sample string 4","ParCodeCity":5,"ParCodeHQ":6,"ParCodeASMHQ":7,"ParCodeRSMHQ":8,"ParCodeStatus":"sample string 9","ParCodeCreatedBy":10,"ParCodeCreatedDate":"2024-11-23T18:52:49.6595414+05:30","ParCodeApprovedByASM":12,"ParCodeApprovedByRSM":13,"ParCodeApprovedDate":"2024-11-23T18:52:49.6595414+05:30","ParCodeLastUpdatedBy":15,"ParCodeLastUpdateDate":"2024-11-23T18:52:49.6595414+05:30","cccd":"sample string 17","XMLVAR":"sample string 18"},{"ParCodeID":1,"ParCodeTypeID":2,"ParCodeCode":"sample string 3","ParCodeDescription":"sample string 4","ParCodeCity":5,"ParCodeHQ":6,"ParCodeASMHQ":7,"ParCodeRSMHQ":8,"ParCodeStatus":"sample string 9","ParCodeCreatedBy":10,"ParCodeCreatedDate":"2024-11-23T18:52:49.6595414+05:30","ParCodeApprovedByASM":12,"ParCodeApprovedByRSM":13,"ParCodeApprovedDate":"2024-11-23T18:52:49.6595414+05:30","ParCodeLastUpdatedBy":15,"ParCodeLastUpdateDate":"2024-11-23T18:52:49.6595414+05:30","cccd":"sample string 17","XMLVAR":"sample string 18"}]}

application/xml, text/xml

Sample:
<PBXMLParameterType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerAPI.Models">
  <PARAMETERCODELIST>
    <PBXParameterCode>
      <ParCodeASMHQ>7</ParCodeASMHQ>
      <ParCodeApprovedByASM>12</ParCodeApprovedByASM>
      <ParCodeApprovedByRSM>13</ParCodeApprovedByRSM>
      <ParCodeApprovedDate>2024-11-23T18:52:49.6595414+05:30</ParCodeApprovedDate>
      <ParCodeCity>5</ParCodeCity>
      <ParCodeCode>sample string 3</ParCodeCode>
      <ParCodeCreatedBy>10</ParCodeCreatedBy>
      <ParCodeCreatedDate>2024-11-23T18:52:49.6595414+05:30</ParCodeCreatedDate>
      <ParCodeDescription>sample string 4</ParCodeDescription>
      <ParCodeHQ>6</ParCodeHQ>
      <ParCodeID>1</ParCodeID>
      <ParCodeLastUpdateDate>2024-11-23T18:52:49.6595414+05:30</ParCodeLastUpdateDate>
      <ParCodeLastUpdatedBy>15</ParCodeLastUpdatedBy>
      <ParCodeRSMHQ>8</ParCodeRSMHQ>
      <ParCodeStatus>sample string 9</ParCodeStatus>
      <ParCodeTypeID>2</ParCodeTypeID>
      <XMLVAR>sample string 18</XMLVAR>
      <cccd>sample string 17</cccd>
    </PBXParameterCode>
    <PBXParameterCode>
      <ParCodeASMHQ>7</ParCodeASMHQ>
      <ParCodeApprovedByASM>12</ParCodeApprovedByASM>
      <ParCodeApprovedByRSM>13</ParCodeApprovedByRSM>
      <ParCodeApprovedDate>2024-11-23T18:52:49.6595414+05:30</ParCodeApprovedDate>
      <ParCodeCity>5</ParCodeCity>
      <ParCodeCode>sample string 3</ParCodeCode>
      <ParCodeCreatedBy>10</ParCodeCreatedBy>
      <ParCodeCreatedDate>2024-11-23T18:52:49.6595414+05:30</ParCodeCreatedDate>
      <ParCodeDescription>sample string 4</ParCodeDescription>
      <ParCodeHQ>6</ParCodeHQ>
      <ParCodeID>1</ParCodeID>
      <ParCodeLastUpdateDate>2024-11-23T18:52:49.6595414+05:30</ParCodeLastUpdateDate>
      <ParCodeLastUpdatedBy>15</ParCodeLastUpdatedBy>
      <ParCodeRSMHQ>8</ParCodeRSMHQ>
      <ParCodeStatus>sample string 9</ParCodeStatus>
      <ParCodeTypeID>2</ParCodeTypeID>
      <XMLVAR>sample string 18</XMLVAR>
      <cccd>sample string 17</cccd>
    </PBXParameterCode>
    <PBXParameterCode>
      <ParCodeASMHQ>7</ParCodeASMHQ>
      <ParCodeApprovedByASM>12</ParCodeApprovedByASM>
      <ParCodeApprovedByRSM>13</ParCodeApprovedByRSM>
      <ParCodeApprovedDate>2024-11-23T18:52:49.6595414+05:30</ParCodeApprovedDate>
      <ParCodeCity>5</ParCodeCity>
      <ParCodeCode>sample string 3</ParCodeCode>
      <ParCodeCreatedBy>10</ParCodeCreatedBy>
      <ParCodeCreatedDate>2024-11-23T18:52:49.6595414+05:30</ParCodeCreatedDate>
      <ParCodeDescription>sample string 4</ParCodeDescription>
      <ParCodeHQ>6</ParCodeHQ>
      <ParCodeID>1</ParCodeID>
      <ParCodeLastUpdateDate>2024-11-23T18:52:49.6595414+05:30</ParCodeLastUpdateDate>
      <ParCodeLastUpdatedBy>15</ParCodeLastUpdatedBy>
      <ParCodeRSMHQ>8</ParCodeRSMHQ>
      <ParCodeStatus>sample string 9</ParCodeStatus>
      <ParCodeTypeID>2</ParCodeTypeID>
      <XMLVAR>sample string 18</XMLVAR>
      <cccd>sample string 17</cccd>
    </PBXParameterCode>
  </PARAMETERCODELIST>
  <ParTypeCode>sample string 2</ParTypeCode>
  <ParTypeCreatedBy>5</ParTypeCreatedBy>
  <ParTypeCreatedBySpecified>true</ParTypeCreatedBySpecified>
  <ParTypeCreatedDate>2024-11-23T18:52:49.6575406+05:30</ParTypeCreatedDate>
  <ParTypeCreatedDateSpecified>true</ParTypeCreatedDateSpecified>
  <ParTypeDescription>sample string 3</ParTypeDescription>
  <ParTypeID>1</ParTypeID>
  <ParTypeLastUpdateDate>2024-11-23T18:52:49.6585423+05:30</ParTypeLastUpdateDate>
  <ParTypeLastUpdateDateSpecified>true</ParTypeLastUpdateDateSpecified>
  <ParTypeLastUpdatedBy>9</ParTypeLastUpdatedBy>
  <ParTypeLastUpdatedBySpecified>true</ParTypeLastUpdatedBySpecified>
  <ParTypeStatus>sample string 4</ParTypeStatus>
  <XMLVAR>sample string 14</XMLVAR>
  <cccd>sample string 13</cccd>
</PBXMLParameterType>

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>