POST api/bir/forms/transactions/generate-pdf/1907

Request Information

URI Parameters

None.

Body Parameters

Form1907Data
NameDescriptionTypeAdditional information
formName

string

None.

purposeOfApplication

PurposeOfApplication

None.

tinNumber

string

None.

rdoCode

string

None.

taxPayerName

string

None.

businessName

string

None.

kindOfBusiness

string

None.

addressWhereMachineWillBeUsed

string

None.

machineSupplierTin

string

None.

machineSupplierName

string

None.

supplierTradeName

string

None.

supplierAddress

string

None.

descriptionOfMachines

DescriptionOfMachines

None.

applicant

string

None.

distributorORdealerOrvendor

string

None.

attachmentYES

boolean

None.

attachmentNO

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "formName": "sample string 1",
  "purposeOfApplication": {
    "aCashRegisterMachineInLieuOfSalesInvoice": true,
    "aStandAlone": true,
    "aCAS": true,
    "bCashRegisterMachineAsCashDepository": true,
    "cPointOfSaleMachine": true,
    "cStandAlone": true,
    "cCAS": true
  },
  "tinNumber": "sample string 2",
  "rdoCode": "sample string 3",
  "taxPayerName": "sample string 4",
  "businessName": "sample string 5",
  "kindOfBusiness": "sample string 6",
  "addressWhereMachineWillBeUsed": "sample string 7",
  "machineSupplierTin": "sample string 8",
  "machineSupplierName": "sample string 9",
  "supplierTradeName": "sample string 10",
  "supplierAddress": "sample string 11",
  "descriptionOfMachines": {
    "FirstRow": {
      "Brand": "sample string 1",
      "SerialNo": "sample string 2",
      "ElectronicType": "sample string 3",
      "MechanicType": "sample string 4",
      "Model": "sample string 5",
      "MaximumSalesCapacity": "sample string 6",
      "ResetCounterNumber": "sample string 7",
      "FunctionCode": "sample string 8",
      "ConditionOfTheMachineCODE": "sample string 9"
    },
    "SecondRow": {
      "Brand": "sample string 1",
      "SerialNo": "sample string 2",
      "ElectronicType": "sample string 3",
      "MechanicType": "sample string 4",
      "Model": "sample string 5",
      "MaximumSalesCapacity": "sample string 6",
      "ResetCounterNumber": "sample string 7",
      "FunctionCode": "sample string 8",
      "ConditionOfTheMachineCODE": "sample string 9"
    },
    "ThirdRow": {
      "Brand": "sample string 1",
      "SerialNo": "sample string 2",
      "ElectronicType": "sample string 3",
      "MechanicType": "sample string 4",
      "Model": "sample string 5",
      "MaximumSalesCapacity": "sample string 6",
      "ResetCounterNumber": "sample string 7",
      "FunctionCode": "sample string 8",
      "ConditionOfTheMachineCODE": "sample string 9"
    },
    "FourthRow": {
      "Brand": "sample string 1",
      "SerialNo": "sample string 2",
      "ElectronicType": "sample string 3",
      "MechanicType": "sample string 4",
      "Model": "sample string 5",
      "MaximumSalesCapacity": "sample string 6",
      "ResetCounterNumber": "sample string 7",
      "FunctionCode": "sample string 8",
      "ConditionOfTheMachineCODE": "sample string 9"
    }
  },
  "applicant": "sample string 12",
  "distributorORdealerOrvendor": "sample string 13",
  "attachmentYES": true,
  "attachmentNO": true
}

application/xml, text/xml

Sample:
<Form1907Data xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">
  <addressWhereMachineWillBeUsed>sample string 7</addressWhereMachineWillBeUsed>
  <applicant>sample string 12</applicant>
  <attachmentNO>true</attachmentNO>
  <attachmentYES>true</attachmentYES>
  <businessName>sample string 5</businessName>
  <descriptionOfMachines>
    <FirstRow>
      <Brand>sample string 1</Brand>
      <ConditionOfTheMachineCODE>sample string 9</ConditionOfTheMachineCODE>
      <ElectronicType>sample string 3</ElectronicType>
      <FunctionCode>sample string 8</FunctionCode>
      <MaximumSalesCapacity>sample string 6</MaximumSalesCapacity>
      <MechanicType>sample string 4</MechanicType>
      <Model>sample string 5</Model>
      <ResetCounterNumber>sample string 7</ResetCounterNumber>
      <SerialNo>sample string 2</SerialNo>
    </FirstRow>
    <FourthRow>
      <Brand>sample string 1</Brand>
      <ConditionOfTheMachineCODE>sample string 9</ConditionOfTheMachineCODE>
      <ElectronicType>sample string 3</ElectronicType>
      <FunctionCode>sample string 8</FunctionCode>
      <MaximumSalesCapacity>sample string 6</MaximumSalesCapacity>
      <MechanicType>sample string 4</MechanicType>
      <Model>sample string 5</Model>
      <ResetCounterNumber>sample string 7</ResetCounterNumber>
      <SerialNo>sample string 2</SerialNo>
    </FourthRow>
    <SecondRow>
      <Brand>sample string 1</Brand>
      <ConditionOfTheMachineCODE>sample string 9</ConditionOfTheMachineCODE>
      <ElectronicType>sample string 3</ElectronicType>
      <FunctionCode>sample string 8</FunctionCode>
      <MaximumSalesCapacity>sample string 6</MaximumSalesCapacity>
      <MechanicType>sample string 4</MechanicType>
      <Model>sample string 5</Model>
      <ResetCounterNumber>sample string 7</ResetCounterNumber>
      <SerialNo>sample string 2</SerialNo>
    </SecondRow>
    <ThirdRow>
      <Brand>sample string 1</Brand>
      <ConditionOfTheMachineCODE>sample string 9</ConditionOfTheMachineCODE>
      <ElectronicType>sample string 3</ElectronicType>
      <FunctionCode>sample string 8</FunctionCode>
      <MaximumSalesCapacity>sample string 6</MaximumSalesCapacity>
      <MechanicType>sample string 4</MechanicType>
      <Model>sample string 5</Model>
      <ResetCounterNumber>sample string 7</ResetCounterNumber>
      <SerialNo>sample string 2</SerialNo>
    </ThirdRow>
  </descriptionOfMachines>
  <distributorORdealerOrvendor>sample string 13</distributorORdealerOrvendor>
  <formName>sample string 1</formName>
  <kindOfBusiness>sample string 6</kindOfBusiness>
  <machineSupplierName>sample string 9</machineSupplierName>
  <machineSupplierTin>sample string 8</machineSupplierTin>
  <purposeOfApplication>
    <aCAS>true</aCAS>
    <aCashRegisterMachineInLieuOfSalesInvoice>true</aCashRegisterMachineInLieuOfSalesInvoice>
    <aStandAlone>true</aStandAlone>
    <bCashRegisterMachineAsCashDepository>true</bCashRegisterMachineAsCashDepository>
    <cCAS>true</cCAS>
    <cPointOfSaleMachine>true</cPointOfSaleMachine>
    <cStandAlone>true</cStandAlone>
  </purposeOfApplication>
  <rdoCode>sample string 3</rdoCode>
  <supplierAddress>sample string 11</supplierAddress>
  <supplierTradeName>sample string 10</supplierTradeName>
  <taxPayerName>sample string 4</taxPayerName>
  <tinNumber>sample string 2</tinNumber>
</Form1907Data>

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 'Form1907Data'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.