POST segmentation/exceptional_items/update
This method updates the exceptional items set. Single set of exceptional items can be updated by each call. Fields which are not specified are not updated at all. Fields which are specified as null will be set as null.
Resource URL
Parameters
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
token | String | The token retrieved from the login method | |||||||||
segmentation_identifier (mandatory) | Identifier | The identifier of the segmentation that should be returned as a result. The allowed segmentation identifier fields are the following:
| |||||||||
(mandatory) | Set of Segmentation Exceptional Item Objects | The segment exceptional item objects to be updated If no records are specified in the set then nothing will be updated. To update a record use "action" : "update". To remove a record use "action" : "remove". To add a record use "action" : "add". Different actions can be used within the same set. For example: "set": [ { "action": "update", ........... }, { "action": "remove", ........... }, { "action": "add", ........... } ] |
Referred Parameter Objects Data
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved segment |
number | String | The number of the retrieved segment |
alternative_code | String | The alternative code of the retrieved segment |
life_cycle_state | String | The life cycle state of the retrieved segment which can be DRAFT or POSTED |
criteria | String | The segmentation criteria of the retrieved segment |
entity | String | The entity of the retrieved segment which can be one of the following
SUBSCRIPTIONACTIONS is available from CRM.COM R14.2.0 CREDITNOTES, INVOICES, INVOICECANCELLATIONS, PAYMENTCANCELLATIONS, REFUNDS, REWARDOFFERS, WALLETS, WALLETTRANSACTIONS, WRITEOFFS are available from CRM.COM R15.0.0 |
udf_string_1 | String | User Defined Field of type String |
udf_string_2 | String | User Defined Field of type String |
udf_string_3 | String | User Defined Field of type String |
udf_string_4 | String | User Defined Field of type String |
udf_string_5 | String | User Defined Field of type String |
udf_string_6 | String | User Defined Field of type String |
udf_string_7 | String | User Defined Field of type String |
udf_string_8 | String | User Defined Field of type String |
udf_float_1 | Float | User Defined Field of type Float |
udf_float_2 | Float | User Defined Field of type Float |
udf_float_3 | Float | User Defined Field of type Float |
udf_float_4 | Float | User Defined Field of type Float |
udf_date_1 | Date | User Defined Field of type Date |
udf_date_2 | Date | User Defined Field of type Date |
udf_date_3 | Date | User Defined Field of type Date |
udf_date_4 | Date | User Defined Field of type Date |
exceptional_items | Exceptional items object | The exceptional items of the retrieved segment |
log_information | Log Information Object | The log information of the retrieved segment |
Referred Objects Response Data