Delete Market Request

 

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

 

Request Format

 

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

 

 

HTTP Verb/Method:

 

DELETE

 

 

Request Parameters

 

Parameter

Description

{server}

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

{externalCode}

Provide the External Code of the Agent Market you wish to remove from the system. This field corresponds to the External Code managed through Agent Market Setup.

 

REQUEST EXAMPLE:

 

http://server/api/agents/markets/AM1

 

 

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.