Skip to end of banner
Go to start of banner

GET accounts_receivable/configuration/presentment_preferences/list

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Available from CRM.COM R6.0.0

This method returns the presentment preferences that are allowed to be used in the system, as specified in the active accounts receivable definition. Multiple presentment preferences are returned by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

group_identifier

(optional)

Group Identifier

The identifier of the group that will be providing the presentment preference. The group is filtered against the presentment preference allowed organisational units. The allowed group identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the group

name

(semi-optional)

String

The code of the group

alternative_code

(semi-optional)

String

The alternative code of  the group

unit_identifier

(optional)

Unit Identifier

The identifier of the unit that will be providing the presentment preference. The unit is filtered against the presentment preference allowed organisational units. The allowed unit identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the Unit

name

(semi-optional)

String

The name of the Unit

alternative_code

(semi-optional)

String

The alternative code of  the Unit

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

Response Data

Name

Type

Description

id

String

The id of the retrieved presentment preference

name

String

The name of the retrieved presentment preference

alternative_code

String

The alternative code of the retrieved presentment preference

type

Sting

The presentment method type which can be one of the following:

POST, EMAIL, SMS, F2F, OTHER, CUSTOM_1, CUSTOM_2, CUSTOM_3, CUSTOM_4, CUSTOM_5

stateStringThe state of the presentment preference, which can be ACTIVE or INACTIVE
descriptionStringA description of the presentment preference
defaultBooleanIt determines if the presentment preference is set as the default in the accounts receivable definition

contact_information

Contact Information Object

The contact information related with the retrieved presentment preference

Referred Objects Response Data

 contact_information object response data

Name

Type

Description

id

String

The ID of the retrieved contact information

type

String

The type of the retrieved contact information which can be PERSON or COMPANY

life_cycle_state

String

The lifecycle state of the retrieved contact information which can be MARKETING or FINANCIAL

name

String

The full name of the retrieved contact information

first_name

String

The first name of the retrieved contact information

middle_name

String

The middle name of the retrieved contact information

last_name

String

The last name of the retrieved contact information

title

String

The title of the retrieved contact information

company_nameSting

The company name of the retrieved contact information

demographics

Demographics Object

The demographics information of the retrieved contact information

company_profile

Company profile object

The company profile of the retrieve contact information

Referred Objects Response Data

 demographics object response data

Name

Type

Description

gender

String

The gender of the retrieved contact information which can be MALE or FEMALE

id_number

String

The ID number of the retrieved contact information

id_number_expiration_dateDate

The ID number's expiration date of the retrieved contact information

Available from CRM.COM R14.0.0

passport_number

String

The passport number of the retrieved contact information

passport_number_expiration_dateDate

The passport's expiration date of the retrieved contact information

Available from CRM.COM R14.0.0

social_security_number

String

The social security number of the retrieved contact information

date_of_birth

Date of Birth Object

The date of birth of the retrieved contact information

name_day

Name Day Object

The name day of the retrieved contact information

country_of_residence

Country Object

The country of residence of the retrieved contact information

id_issued_by_country

Country Object

The ID issued country of retrieved contact information

passport_issued_by_country

Country Object

The passport  issued country of retrieved contact information

industry

Industry Object

The industry of retrieved contact information

industry_sector

Industry sector Object

The sector of retrieved contact information

Referred Objects Response Data

 date_of_birth object response data

Name

Type

Description

day

Integer

The day of the retrieved date of birth

month

Integer

The month of the retrieved date of birth

year

Integer

The year of the retrieved date of birth

 name_day object response data

Name

Type

Description

day

Integer

The day of the retrieved name day

month

Integer

The month of the retrieved name day

 country object response data

Name

Type

Description

id

String

The id of the retrieved country

name

String

The name of the retrieved country

alternative_codeString

The alternative code of the retrieved country

dialing_codeString

The dialing code of the retrieved country

Available from CRM.COM R15.1.0

two_character_codeString

The two character code of the retrieved country

three_character_codeString

The three character code of the retrieved country

country_flagImage Object

The flag of the retrieved country

Available from CRM.COM R15.1.0

Referred Objects Response Data

 country_flag object response data

Name

Type

Description

id

String

The ID of the retrieved country flag

fileFile ObjectThe information of the attached file

Referred Objects Response Data

 file object response data

 

Name

Type

Description

file_nameStringThe name of the file
file_content_urlStringThe url that can be used to access the actual content of the file
file_mime_typeStringThe mime type of the attached file

 industry object response data

Name

Type

Description

id

String

The id of the retrieved industry

name

String

The name of the retrieved industry

code

String

The code of the retrieved industry

 industry sector object response data

Name

Type

Description

id

String

The id of the retrieved industry sector

name

String

The name of the retrieved industry sector

alternative_code

String

The alternative code of the retrieved industry sector

 company profile object response data

Name

Type

Description

profile_year

Number

The profile year of the retrieved contact information

annual_turnover

Number

The annual turnover of the retrieved contact information

established_date

Date

The established date of the retrieved contact information

number_of_employeesNumber

The number of employees of the retrieved contact information

registration_number

String

The registration number of the retrieved contact information

vat_registration_numberString

The vat registration number of the retrieved contact information

vat_registered_byString

The vat registration by of the retrieved contact information

vat_registration_date

Date

The vat registration date of the retrieved contact information

tax_reference_numberString

The tax referenece number of the retrieved contact information

registered_in_country

Country Object

The country of residence of the retrieved contact information

industry

Industry Object

The industry of retrieved contact information

industry_sector

Industry sector Object

The sector of retrieved contact information

Referred Objects Response Data

 country object response data

Name

Type

Description

id

String

The id of the retrieved country

name

String

The name of the retrieved country

alternative_codeString

The alternative code of the retrieved country

dialing_codeString

The dialing code of the retrieved country

Available from CRM.COM R15.1.0

two_character_codeString

The two character code of the retrieved country

three_character_codeString

The three character code of the retrieved country

country_flagImage Object

The flag of the retrieved country

Available from CRM.COM R15.1.0

Referred Objects Response Data

 country_flag object response data

Name

Type

Description

id

String

The ID of the retrieved country flag

fileFile ObjectThe information of the attached file

Referred Objects Response Data

 file object response data

 

Name

Type

Description

file_nameStringThe name of the file
file_content_urlStringThe url that can be used to access the actual content of the file
file_mime_typeStringThe mime type of the attached file

 industry object response data

Name

Type

Description

id

String

The id of the retrieved industry

name

String

The name of the retrieved industry

code

String

The code of the retrieved industry

 industry sector object response data

Name

Type

Description

id

String

The id of the retrieved industry sector

name

String

The name of the retrieved industry sector

alternative_code

String

The alternative code of the retrieved industry sector

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

 

{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    [
        {
            "default": true,
            "state": "ACTIVE",
            "type": "CUSTOM1",
            "name": "Face 2 Face",
            "id": "630EB1D7AEA66353A8D82B061A05201D",
            "description": null,
            "contact_information":
            {
                "last_name": "Georgiou",
                "life_cycle_state": "FINANCIAL",
                "middle_name": null,
                "company_profile": null,
                "title": "Miss",
                "type": "PERSON",
                "first_name": "Michalis1",
                "name": "Michalis1 Georgiou",
                "id": "02B4928EE8C9A170F888264D686927DD",
                "company_name": null,
                "demographics":
                {
                    "gender": "FEMALE",
                    "passport_issued_by_country": null,
                    "passport_number": "123456789",
                    "social_security_number": "45545123",
                    "country_of_residence":
                    {
                        "name": "KINGS LANDING",
                        "id": "DE15"
                    },
                    "industry_sector": null,
                    "date_of_birth":
                    {
                        "month": null,
                        "day": null,
                        "year": null
                    },
                    "name_day":
                    {
                        "month": null,
                        "day": null
                    },
                    "id_number": "454545",
                    "id_issued_by_country": null,
                    "industry": null
                }
            },
            "alternative_code": "F2F"
        },
        {
            "default": false,
            "state": "ACTIVE",
            "type": "EMAIL",
            "name": "By Email",
            "id": "06A57761BCC28FA9687C57321F2BEB28",
            "description": null,
            "contact_information":
            {
                "last_name": "Lannister",
                "life_cycle_state": "FINANCIAL",
                "middle_name": null,
                "company_profile": null,
                "title": "Mr",
                "type": "PERSON",
                "first_name": "Marios",
                "name": "Marios Lannister",
                "id": "F60EF6A65658F86B3DFADA3809BD85C4",
                "company_name": null,
                "demographics":
                {
                    "gender": "MALE",
                    "passport_issued_by_country": null,
                    "passport_number": null,
                    "social_security_number": null,
                    "country_of_residence":
                    {
                        "name": "CAMEROON",
                        "id": "164"
                    },
                    "industry_sector": null,
                    "date_of_birth":
                    {
                        "month": 5,
                        "day": 1,
                        "year": 1963
                    },
                    "name_day":
                    {
                        "month": 5,
                        "day": 1
                    },
                    "id_number": "593664",
                    "id_issued_by_country":
                    {
                        "name": "CYPRUS",
                        "id": "181"
                    },
                    "industry": null
                }
            },
            "alternative_code": "BE"
        },
        {
            "default": false,
            "state": "ACTIVE",
            "type": "CUSTOM1",
            "name": "mayTest",
            "id": "AD0799F85430C0EF89E6D820D81AF50F",
            "description": null,
            "contact_information":
            {
                "last_name": "May",
                "life_cycle_state": "FINANCIAL",
                "middle_name": "Alan",
                "company_profile": null,
                "title": "Mr",
                "type": "PERSON",
                "first_name": "Michael",
                "name": "Michael May",
                "id": "22AD2164CE074EB60ECFD5F3F9A55E2D",
                "company_name": null,
                "demographics":
                {
                    "gender": "MALE",
                    "passport_issued_by_country":
                    {
                        "name": "UNITED KINGDOM",
                        "id": "126"
                    },
                    "passport_number": "123456",
                    "social_security_number": "654321",
                    "country_of_residence":
                    {
                        "name": "CYPRUS",
                        "id": "181"
                    },
                    "industry_sector":
                    {
                        "name": "FINANCIALS",
                        "id": "03EA93890F51506ABD9E994CD826EC78",
                        "alternative_code": "FIN"
                    },
                    "date_of_birth":
                    {
                        "month": 5,
                        "day": 30,
                        "year": 1983
                    },
                    "name_day":
                    {
                        "month": 11,
                        "day": 7
                    },
                    "id_number": "868561",
                    "id_issued_by_country":
                    {
                        "name": "UNITED KINGDOM",
                        "id": "126"
                    },
                    "industry":
                    {
                        "name": "IndustryTest",
                        "id": "D65E1F283AE9FED5A572F817DE23EDD1",
                        "code": "IndTest"
                    }
                }
            },
            "alternative_code": "MT"
        },
        {
            "default": false,
            "state": "ACTIVE",
            "type": "SMS",
            "name": "By SMS",
            "id": "03C42DEB72334FBFF653A158B3305152",
            "description": null,
            "contact_information":
            {
                "last_name": "Georgiou",
                "life_cycle_state": "FINANCIAL",
                "middle_name": null,
                "company_profile": null,
                "title": "Miss",
                "type": "PERSON",
                "first_name": "Michalis1",
                "name": "Michalis1 Georgiou",
                "id": "02B4928EE8C9A170F888264D686927DD",
                "company_name": null,
                "demographics":
                {
                    "gender": "FEMALE",
                    "passport_issued_by_country": null,
                    "passport_number": "123456789",
                    "social_security_number": "45545123",
                    "country_of_residence":
                    {
                        "name": "KINGS LANDING",
                        "id": "DE15"
                    },
                    "industry_sector": null,
                    "date_of_birth":
                    {
                        "month": null,
                        "day": null,
                        "year": null
                    },
                    "name_day":
                    {
                        "month": null,
                        "day": null
                    },
                    "id_number": "454545",
                    "id_issued_by_country": null,
                    "industry": null
                }
            },
            "alternative_code": "BS"
        },
        {
            "default": false,
            "state": "ACTIVE",
            "type": "SMS",
            "name": "By SMS1",
            "id": "FF4B64B413EC1EE42D4CF560DBFFB896",
            "description": null,
            "contact_information": null,
            "alternative_code": "BS1"
        },
        {
            "default": false,
            "state": "ACTIVE",
            "type": "CUSTOM1",
            "name": "Face to face 1",
            "id": "7A169C5EA0DF3CFF1AE1A0D28079A692",
            "description": null,
            "contact_information": null,
            "alternative_code": "f2f1"
        },
        {
            "default": false,
            "state": "ACTIVE",
            "type": "POST",
            "name": "toTestRestrictions",
            "id": "E67E535FA0A566B7D6E97C53B64E274A",
            "description": null,
            "contact_information":
            {
                "last_name": "Hadjicosti",
                "life_cycle_state": "MARKETING",
                "middle_name": "Something",
                "company_profile": null,
                "title": null,
                "type": "PERSON",
                "first_name": "Jack",
                "name": "Jack Hadjicosti",
                "id": "824D021B7EB8FEFFC8844EEE9E708951",
                "company_name": null,
                "demographics":
                {
                    "gender": null,
                    "passport_issued_by_country": null,
                    "passport_number": null,
                    "social_security_number": null,
                    "country_of_residence": null,
                    "industry_sector": null,
                    "date_of_birth":
                    {
                        "month": null,
                        "day": null,
                        "year": null
                    },
                    "name_day":
                    {
                        "month": null,
                        "day": null
                    },
                    "id_number": "654321",
                    "id_issued_by_country": null,
                    "industry": null
                }
            },
            "alternative_code": "ttr"
        }
    ]
}
  • No labels