Trendsic Platform Service

<back to all web services

AgentNumberRequest

Requires Authentication
Requires any of the roles:Agent, Administrator, Agent, Administrator, Agent, Administrator
The following routes are available for this service:
GET,POST,PUT,DELETE,OPTIONS/v1/AgentNumber
AgentNumberRequest Parameters:
NameParameterData TypeRequiredDescription
AgentNumberbodyList<AgentNumber>No
AgentNumber Parameters:
NameParameterData TypeRequiredDescription
AgentNumberIdformintNo
CarrierformstringNo
AgentNumberformstringNo
AgentNameformstringNo
AgentIdformintNo
AgentNumberResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
AgentNumberformList<AgentNumber>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v1/AgentNumber HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"AgentNumber":[{"AgentNumberId":0,"Carrier":"String","AgentNumber":"String","AgentName":"String","AgentId":0}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"AgentNumber":[{"AgentNumberId":0,"Carrier":"String","AgentNumber":"String","AgentName":"String","AgentId":0}]}