Update Market Request

 

Use this request to update an Agent Market Setup record. Agent Market records are stored within the Market table and accessible through Agent Market Setup.

 

This method requires information that you can obtain from Get Markets Request.

 

 

Request Format

 

http://{server}/api/agents/markets

 

 

HTTP Verb/Method:

 

PUT

 

 

Request Parameters

 

Provide the updated information based on what is allowed. Base this information on what is returned from a Get Markets Request along with the following specification.

 

Parameter

Description

{server}

Provide the name of the server running the MoversSuite API Service.

 

 

REQUEST EXAMPLE:

 

http://server/api/agents/markets

 

SAMPLE REQUEST:

{

     "Description": "A Market",

     "ExternalCode": "AM1",

     "MarketId": 1

}

 

 

Request Return

 

Upon a successful call, the request returns a value of one (1).

 

Upon an error, the request returns zero (0) and writes an exception message to the MssApiService log.