POST api/putVendor

Put Vendor(s)

Request Information

Allows multi-location processing, in case of using parent location token restrictByLocations parameter is strongly recommended with comma separated list of locations to select from or update in

URI Parameters

None.

Body Parameters

List of Vendors

Collection of VendorImportInfo
NameDescriptionTypeAdditional information
Name

string

None.

Code

string

None.

Creator

string

None.

LocationId

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Code": "sample string 2",
    "Creator": "sample string 3",
    "LocationId": 4
  },
  {
    "Name": "sample string 1",
    "Code": "sample string 2",
    "Creator": "sample string 3",
    "LocationId": 4
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

list of results in format: [companyId], [name], [isSuccess]. IsSuccess false if there was inner error, it will be put into ErrorMessage field

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.