Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Tip

Available from CRM.COM R14.4.0

Excerpt

This method returns the favorite items of a specific accounts receivable. Multiple favorite items are retrieved by this call

...

Name

Type

Description

token

String

The token retrieved from the login method

accounts_receivable_identifier

(mandatory)

Accounts Receivable Identifier  

The identifier of the accounts receivable which owns the list of favorite items. The allowed accounts receivable identifier fields are the following:

Include Page
V4:accounts_receivable_identifier
V4:accounts_receivable_identifier

number_of_results

(optional)

NumberThe number of results that can be retrieved through each call

offset

(optional)

NumberDefines the number of entities that should be skipped from the results. If it is set to 0 then none results should be skipped, otherwise the results will begin from the provided offset number

fields_set

(optional)

List of Strings, comma separated 

A list of fields that should be included in the results. If not specified then all the available fields will be returned

...

Expand
titleExample 1

HTTP Method: GET

 

Request

Response

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
    "data": [
        {
            "number": null,
            "product": {
                "code": "1234",
                "product_type": {
                    "meter_reading_type": {
                        "unit_of_measurement": {
                            "alternative_code": "K",
                            "name": "Kilos",
                            "description": null,
                            "id": "42CACE552A58408F8143884E1C181057"
                        },
                        "alternative_code": "MTT",
                        "name": "MT TYPES",
                        "description": null,
                        "id": "4E951AFF3513471883161CF5E9029C3A",
                        "classification": "ONE_TIME_READING"
                    },
                    "service_type": null,
                    "used_for_provisioning": true,
                    "alternative_code": "test",
                    "udr_type": null,
                    "composition_method": "FLAT",
                    "name": "SMARTCARD",
                    "description": "SMARTCARD",
                    "id": "D6BE0209EC0149989A89972CE889DF8B",
                    "classification": "PHYSICALGOODS",
                    "physical_good_type": "TRACEABLE"
                },
                "alternative_code": "Smartcard 1",
                "description": "1234",
                "id": "923C101369EE4F45A1A73446BB74F198",
                "priority_level": null
            },
            "components_set": [],
            "accounts_receivable": {
                "number": "ACR0000000025",
                "name": "ACR0000000025 Ramy M",
                "id": "4C13FA60560B42F7939113BD699A9E71",
                "life_cycle_state": "ACTIVE",
                "account_owner": {
                    "company_profile": null,
                    "company_name": null,
                    "name": null,
                    "last_name": "M",
                    "id": "51DDE9E46B9F4F5EB0E01F909F18FE39",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": null,
                    "title": null,
                    "type": "PERSON",
                    "first_name": "Ramy",
                    "demographics": {
                        "id_number": "126598",
                        "gender": null,
                        "country_of_residence": {
                            "alternative_code": "IRN",
                            "three_character_code": null,
                            "name": "IRAN (ISLAMIC REPUBLIC OF)",
                            "id": "231",
                            "two_character_code": null
                        },
                        "date_of_birth": {
                            "month": null,
                            "year": null,
                            "day": null
                        },
                        "industry_sector": null,
                        "industry": null,
                        "name_day": {
                            "month": null,
                            "day": null
                        },
                        "passport_number_expiration_date": null,
                        "id_number_expiration_date": null,
                        "passport_number": null,
                        "social_security_number": null,
                        "id_issued_by_country": null,
                        "passport_issued_by_country": null
                    }
                }
            },
            "id": "93506C0DF81C4AF3902BBB07793A85EA"
        },
        {
            "number": null,
            "product": {
                "code": "Caffe Latte",
                "product_type": {
                    "meter_reading_type": null,
                    "service_type": null,
                    "used_for_provisioning": false,
                    "alternative_code": "Z",
                    "udr_type": null,
                    "composition_method": "FLEXIBLEBUNDLE",
                    "name": "Zorbas",
                    "description": null,
                    "id": "A8F22AD71E9C4A818A5CA853E628CA4A",
                    "classification": "PHYSICALGOODS",
                    "physical_good_type": "NONTRACEABLE"
                },
                "alternative_code": "CL",
                "description": "Caffe Latte",
                "id": "847DAF8938094DC7B9542991D0A2916A",
                "priority_level": null
            },
            "components_set": [
                {
                    "product": {
                        "code": "Extra Shot",
                        "product_type": {
                            "meter_reading_type": null,
                            "service_type": null,
                            "used_for_provisioning": false,
                            "alternative_code": "ZC",
                            "udr_type": null,
                            "composition_method": "FLAT",
                            "name": "Zorbas Component",
                            "description": null,
                            "id": "8EED05CC65A54147B1B6CFD0F80063C4",
                            "classification": "PHYSICALGOODS",
                            "physical_good_type": "NONTRACEABLE"
                        },
                        "alternative_code": "ES_1",
                        "description": "Extra Shot",
                        "id": "DA6C0E1F5BA34E2EA15B191CAA4FBCDB",
                        "priority_level": null
                    },
                    "id": "639AB6570244472FAA5F9E03A6BEF214"
                }
            ],
            "accounts_receivable": {
                "number": "ACR0000000025",
                "name": "ACR0000000025 Ramy M",
                "id": "4C13FA60560B42F7939113BD699A9E71",
                "life_cycle_state": "ACTIVE",
                "account_owner": {
                    "company_profile": null,
                    "company_name": null,
                    "name": null,
                    "last_name": "M",
                    "id": "51DDE9E46B9F4F5EB0E01F909F18FE39",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": null,
                    "title": null,
                    "type": "PERSON",
                    "first_name": "Ramy",
                    "demographics": {
                        "id_number": "126598",
                        "gender": null,
                        "country_of_residence": {
                            "alternative_code": "IRN",
                            "three_character_code": null,
                            "name": "IRAN (ISLAMIC REPUBLIC OF)",
                            "id": "231",
                            "two_character_code": null
                        },
                        "date_of_birth": {
                            "month": null,
                            "year": null,
                            "day": null
                        },
                        "industry_sector": null,
                        "industry": null,
                        "name_day": {
                            "month": null,
                            "day": null
                        },
                        "passport_number_expiration_date": null,
                        "id_number_expiration_date": null,
                        "passport_number": null,
                        "social_security_number": null,
                        "id_issued_by_country": null,
                        "passport_issued_by_country": null
                    }
                }
            },
            "id": "FE6F026B69284100B6E1176521B7B7F3"
        }
    ],
    "status": {
        "code": "OK",
        "description": "",
        "message": ""
    }
}