POST api/QmsService/GetQmsBase64Pdf

Request Information

URI Parameters

None.

Body Parameters

QmsQuotationModels
NameDescriptionTypeAdditional information
notes

string

None.

to

string

None.

fax

string

None.

addr

string

None.

tel

string

None.

attn

string

None.

date

date

None.

owner

string

None.

name

string

None.

validity

date

None.

position

string

None.

currencysymbol

string

None.

details

Collection of QmsQuotationDetailModels

None.

deliverys

Collection of QmsDeliveryModels

None.

fromid

globally unique identifier

None.

toid

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "notes": "sample string 1",
  "to": "sample string 2",
  "fax": "sample string 3",
  "addr": "sample string 4",
  "tel": "sample string 5",
  "attn": "sample string 6",
  "date": "2025-12-10T08:49:32.7080959+08:00",
  "owner": "sample string 8",
  "name": "sample string 9",
  "validity": "2025-12-10T08:49:32.7080959+08:00",
  "position": "sample string 11",
  "currencysymbol": "sample string 12",
  "details": [
    {
      "productdescription": "sample string 1",
      "materialcode": "sample string 2",
      "materialname": "sample string 3",
      "externalname": "sample string 4",
      "unitprice": 5.0,
      "quantity": 6,
      "subtotal": 7.0,
      "type": 8,
      "name": "sample string 2"
    },
    {
      "productdescription": "sample string 1",
      "materialcode": "sample string 2",
      "materialname": "sample string 3",
      "externalname": "sample string 4",
      "unitprice": 5.0,
      "quantity": 6,
      "subtotal": 7.0,
      "type": 8,
      "name": "sample string 2"
    }
  ],
  "deliverys": [
    {
      "materialcode": "sample string 1",
      "name": "sample string 2",
      "price": 3.0
    },
    {
      "materialcode": "sample string 1",
      "name": "sample string 2",
      "price": 3.0
    }
  ],
  "fromid": "a2c7263a-2dcc-4ef2-834b-0fa2709cec13",
  "toid": "261bd134-9936-4047-92d5-efa8544cb93f"
}

application/xml, text/xml

Sample:
<QmsQuotationModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Net.MSCrm.MiddleTable.ServiceApi.Models">
  <addr>sample string 4</addr>
  <attn>sample string 6</attn>
  <currencysymbol>sample string 12</currencysymbol>
  <date>2025-12-10T08:49:32.7080959+08:00</date>
  <deliverys>
    <QmsDeliveryModels>
      <materialcode>sample string 1</materialcode>
      <name>sample string 2</name>
      <price>3</price>
    </QmsDeliveryModels>
    <QmsDeliveryModels>
      <materialcode>sample string 1</materialcode>
      <name>sample string 2</name>
      <price>3</price>
    </QmsDeliveryModels>
  </deliverys>
  <details>
    <QmsQuotationDetailModels>
      <externalname>sample string 4</externalname>
      <materialcode>sample string 2</materialcode>
      <materialname>sample string 3</materialname>
      <productdescription>sample string 1</productdescription>
      <quantity>6</quantity>
      <subtotal>7</subtotal>
      <type>8</type>
      <unitprice>5</unitprice>
    </QmsQuotationDetailModels>
    <QmsQuotationDetailModels>
      <externalname>sample string 4</externalname>
      <materialcode>sample string 2</materialcode>
      <materialname>sample string 3</materialname>
      <productdescription>sample string 1</productdescription>
      <quantity>6</quantity>
      <subtotal>7</subtotal>
      <type>8</type>
      <unitprice>5</unitprice>
    </QmsQuotationDetailModels>
  </details>
  <fax>sample string 3</fax>
  <fromid>a2c7263a-2dcc-4ef2-834b-0fa2709cec13</fromid>
  <name>sample string 9</name>
  <notes>sample string 1</notes>
  <owner>sample string 8</owner>
  <position>sample string 11</position>
  <tel>sample string 5</tel>
  <to>sample string 2</to>
  <toid>261bd134-9936-4047-92d5-efa8544cb93f</toid>
  <validity>2025-12-10T08:49:32.7080959+08:00</validity>
</QmsQuotationModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>