Get All Vendors by User ID
Returns a list of Vendor IDs for a provided User ID.
Method Type | URI |
---|---|
GET | v90/ws/vendor.ws?userId={userId} |
Example URL: http://hostname:8080/ems/v90/ws/vendor.ws?userId=brown
URI Parameters
Parameter | Description | Type |
---|---|---|
userId | Identifier of the User in the database. | String |
Sample Response
Success
HTTP Status Code: 200
Response Body:
<listResponse type="vendor" count="1" searchParameters="{userId=Brown}">
<instance id="1" name="DEMOMA" identifier="37515" batchCode="DEMOMA"/>
</listResponse>
Failure
HTTP Status Code: 404
Response: User with ID {} does not exist.