POST api/Savebilling

Request Information

URI Parameters

None.

Body Parameters

Savebilling
NameDescriptionTypeAdditional information
uselang

integer

None.

userlogin

integer

None.

planid

integer

None.

data_package

integer

None.

language

Collection of integer

None.

ccyid

integer

None.

module

Collection of Module

None.

nofusers

integer

None.

nofcompany

integer

None.

nofbranch

integer

None.

nofcurrency

integer

None.

nofstorage

integer

None.

total

decimal number

None.

discountP

decimal number

None.

discountA

decimal number

None.

vatP

decimal number

None.

vatA

decimal number

None.

wht

decimal number

None.

net

decimal number

None.

taxid

string

None.

fullname

string

None.

address

string

None.

city

string

None.

state

string

None.

country

string

None.

zipcode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "uselang": 1,
  "userlogin": 2,
  "planid": 3,
  "data_package": 4,
  "language": [
    1,
    2
  ],
  "ccyid": 5,
  "module": [
    {
      "moduleId": 1,
      "total": 2.0,
      "discountP": 3.0,
      "discountA": 4.0,
      "net": 5.0
    },
    {
      "moduleId": 1,
      "total": 2.0,
      "discountP": 3.0,
      "discountA": 4.0,
      "net": 5.0
    }
  ],
  "nofusers": 6,
  "nofcompany": 7,
  "nofbranch": 8,
  "nofcurrency": 9,
  "nofstorage": 10,
  "total": 11.0,
  "discountP": 12.0,
  "discountA": 13.0,
  "vatP": 14.0,
  "vatA": 15.0,
  "wht": 16.0,
  "net": 17.0,
  "taxid": "sample string 18",
  "fullname": "sample string 19",
  "address": "sample string 20",
  "city": "sample string 21",
  "state": "sample string 22",
  "country": "sample string 23",
  "zipcode": "sample string 24"
}

application/xml, text/xml

Sample:
<Savebilling xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SPRING_WEBAPI.Models">
  <address>sample string 20</address>
  <ccyid>5</ccyid>
  <city>sample string 21</city>
  <country>sample string 23</country>
  <data_package>4</data_package>
  <discountA>13</discountA>
  <discountP>12</discountP>
  <fullname>sample string 19</fullname>
  <language xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </language>
  <module>
    <Module>
      <discountA>4</discountA>
      <discountP>3</discountP>
      <moduleId>1</moduleId>
      <net>5</net>
      <total>2</total>
    </Module>
    <Module>
      <discountA>4</discountA>
      <discountP>3</discountP>
      <moduleId>1</moduleId>
      <net>5</net>
      <total>2</total>
    </Module>
  </module>
  <net>17</net>
  <nofbranch>8</nofbranch>
  <nofcompany>7</nofcompany>
  <nofcurrency>9</nofcurrency>
  <nofstorage>10</nofstorage>
  <nofusers>6</nofusers>
  <planid>3</planid>
  <state>sample string 22</state>
  <taxid>sample string 18</taxid>
  <total>11</total>
  <uselang>1</uselang>
  <userlogin>2</userlogin>
  <vatA>15</vatA>
  <vatP>14</vatP>
  <wht>16</wht>
  <zipcode>sample string 24</zipcode>
</Savebilling>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.