POST api/VMAX/GetVMAXCreateORUpdateVendorAddress

Request Information

URI Parameters

None.

Body Parameters

RequestDataVendorAddress
NameDescriptionTypeAdditional information
VendorID

integer

None.

officename

string

None.

address1

string

None.

address2

string

None.

address3

string

None.

phonenumber

string

None.

state

string

None.

country

integer

None.

gstin

string

None.

registered

string

None.

registrationDate

date

None.

compositionscheme

string

None.

reversecharge

string

None.

area

string

None.

branch

integer

None.

StatuId

integer

None.

CreatedUserId

integer

None.

CreatedDate

date

None.

UpdatedUser

integer

None.

UpdatedDate

date

None.

Url

string

None.

oprMode

integer

None.

LocationId

integer

None.

PINCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "VendorID": 1,
  "officename": "sample string 2",
  "address1": "sample string 3",
  "address2": "sample string 4",
  "address3": "sample string 5",
  "phonenumber": "sample string 6",
  "state": "sample string 7",
  "country": 8,
  "gstin": "sample string 9",
  "registered": "sample string 10",
  "registrationDate": "2026-04-02T07:55:34.8607584+05:30",
  "compositionscheme": "sample string 11",
  "reversecharge": "sample string 12",
  "area": "sample string 13",
  "branch": 14,
  "StatuId": 15,
  "CreatedUserId": 16,
  "CreatedDate": "2026-04-02T07:55:34.8607584+05:30",
  "UpdatedUser": 18,
  "UpdatedDate": "2026-04-02T07:55:34.8607584+05:30",
  "Url": "sample string 20",
  "oprMode": 21,
  "LocationId": 22,
  "PINCode": "sample string 23"
}

application/xml, text/xml

Sample:
<RequestDataVendorAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AXCommunication.Models">
  <CreatedDate>2026-04-02T07:55:34.8607584+05:30</CreatedDate>
  <CreatedUserId>16</CreatedUserId>
  <LocationId>22</LocationId>
  <PINCode>sample string 23</PINCode>
  <StatuId>15</StatuId>
  <UpdatedDate>2026-04-02T07:55:34.8607584+05:30</UpdatedDate>
  <UpdatedUser>18</UpdatedUser>
  <Url>sample string 20</Url>
  <VendorID>1</VendorID>
  <address1>sample string 3</address1>
  <address2>sample string 4</address2>
  <address3>sample string 5</address3>
  <area>sample string 13</area>
  <branch>14</branch>
  <compositionscheme>sample string 11</compositionscheme>
  <country>8</country>
  <gstin>sample string 9</gstin>
  <officename>sample string 2</officename>
  <oprMode>21</oprMode>
  <phonenumber>sample string 6</phonenumber>
  <registered>sample string 10</registered>
  <registrationDate>2026-04-02T07:55:34.8607584+05:30</registrationDate>
  <reversecharge>sample string 12</reversecharge>
  <state>sample string 7</state>
</RequestDataVendorAddress>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

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