TOTVS - RESTFul API


Service: /marketsegments/

Segmentos

Métodos

DELETE
/api/crm/v1/marketSegments/{MarketSegmentID}

Description

Excluí um segmento pelo seu código (AOV_CODSEG)

Response Content Type

Parameters

ParameterData TypeValue
_queryparam UndefinedUndefined
_pathparam UndefinedUndefined
marketsegmentid string optional

GET
/api/crm/v1/marketSegments/{Order, Page, PageSize, Fields}

Description

Lista todos os Seguimentos cadastrados na tabela AOV

Response Content Type

Parameters

ParameterData TypeValue
_queryparam UndefinedUndefined
order string optional
page integer optional
pagesize integer optional
fields string optional

GET
/api/crm/v1/marketSegments/{MarketSegmentID}/{Order, Page, PageSize, Fields}

Description

Obtem um segmento pelo seu código (AOV_CODSEG)

Response Content Type

Parameters

ParameterData TypeValue
_queryparam UndefinedUndefined
_pathparam UndefinedUndefined
marketsegmentid string optional

POST
/api/crm/v1/marketSegments/

Description

Inclui um cadastrado na tabela AOV

Response Content Type

Parameters

ParameterData TypeValue
_queryparam UndefinedUndefined

PUT
/api/crm/v1/marketSegments/{MarketSegmentID}

Description

Altera um segmento pelo seu código (AOV_CODSEG)

Response Content Type

Parameters

ParameterData TypeValue
_queryparam UndefinedUndefined
_pathparam UndefinedUndefined
marketsegmentid string optional