Skip to end of banner
Go to start of banner

approval_requests

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 11 Next »

Available from CRM.COM R9.0.0


GET approval_requests/show

This method returns information related with an approval request.  A single approval request is returned by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

approval_request_identifier

(mandatory)

Approval Request Identifier

The identifier of the approval request that should be returned as a result. The allowed approval request Identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the approval request

number

(semi-optional)

String

The number of the approval request

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

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 approval request

number

String

The number of the retrieved approval request

unified_codeStringThe unified code of the retrieved approval request
life_cycle_stateString

The life cycle state of the retrieved approval request which can be PENDING, APPROVED, REJECTED or CANCELLED

entityString

The name of the entity related with the approval request. The supported entities are the following:

  • ACTIVITIES
  • ADHOCDISCOUNT
  • CREDITNOTES

  • INVOICES

  • JOBS

  • LEADS
  • PAYMENTS
  • REFUNDS
  • REWARDOFFERS
  • SERVICEREQUESTS
  • SUBSCRIPTIONS
  • REWARDOFFERS entity is available from CRM.COM R11.0.0
  • LEADS entity is available from CRM.COM R14.0.0
  • ADHOCDISCOUNT, CREDITNOTES, INVOICES, PAYMENTS, REFUNDS are available from CRM.COM R15.0.0
entity_idStringThe ID of the entity related to the approval request
subjectString

The subject of the retrieved approval request

responseStringThe response of the retrieved approval request
response_dateDateThe date that a response was provided for the retrieved approval request
responded_byUser ObjectThe user that responded to the retrieved approval request
approval_definitionApproval Definition ObjectThe approval definition that was used to create the approval request
workflow_ruleWorkflow Rule ObjectThe workflow rule that triggered the approval request
authorised_users_setSet of Users ObjectsThe users that are authorised to approve, reject or cancel the approval request
log_informationLog Information ObjectThe log information of the retrieved approval request

Referred Objects Response Data

 user object response data

Name

Type

Description

id

String

The ID of the retrieved user

username

String

The user name of the retrieved user

person_name

String

The full name of the retrieved user

email

String

The email of the retrieved user

 approval_definition object response data

Name

Type

Description

id

String

The ID of the retrieved approval definition

alternative_codeStringThe alternative code of the retrieved approval definition
nameStringThe name of the retrieved approval definition
life_cycle_stateString

The life cycle state of the retrieved approval definition. The supported life cycle states are EFFECTIVE or NOT_EFFECTIVE

 workflow_rule object response data

Name

Type

Description

id

String

The ID of the retrieved workflow rule

alternative_codeStringThe alternative code of the retrieved workflow rule
nameStringThe name of the retrieved workflow rule
life_cycle_stateString

The life cycle state of the retrieved workflow rule. The supported life cycle states are EFFECTIVE or NOT_EFFECTIVE

 log_information object response data

Name

Type

Description

created_date

Date

The date that the retrieved record was created

updated_date

Date

The last date that the retrieved record was updated

created_by_unit

Unit Object

The unit that created the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Deprecated from CRM.COM R18.0.0

created_by_business_unit

Unit Object

The unit that created the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Available from CRM.COM R18.0.0

created_by_user

User Object

The user that created the retrieved record

From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled

updated_by_unit

Unit Object

The last unit that updated the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Deprecated from CRM.COM R18.0.0

updated_by_business_unit

Unit Object

The last unit that updated the retrieved record

Available from CRM.COM R18.0.0

updated_by_user

User Object

The last user that updated the retrieved record

From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled

Referred Objects Response Data

 unit object response data

Name

Type

Description

id

String

The ID of the retrieved unit

name

String

The name of the retrieved unit

group_name

String

The name of the group that the retrieved unit belongs to

community_name

String

The name of the community that the retrieved unit belongs to

alternative_code

String

The alternative code of the retrieved unit

description

String

The description of the retrieved unit

 business unit object response data

Name

Type

Description

id

String

The ID of the retrieved business unit

name

String

The name of the retrieved business unit

codeStringThe code of the retrieved business unit
unified_codeString

The unified code of the retrieved business unit

description

String

The description of the retrieved business unit

parent_business_unit_nameStringThe name of the parent business unit that the retrieved business unit belongs to

 user object response data

Name

Type

Description

id

String

The ID of the retrieved user

username

String

The user name of the retrieved user

person_name

String

The full name of the retrieved user

email

String

The email of the retrieved user

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

{
    "status":
    {
        "message": "",
        "description": "",
        "code": "OK"
    },
    "data":
    {
        "authorised_users_set":
        [
            {
                "person_name": "George Rossides A",
                "username": "g_rossides1",
                "id": "6FB3038B8EB2403A9F213EF67D45256C",
                "email": "g_rossides@crm.com"
            },
            {
                "person_name": "George Rossides",
                "username": "g.rossides",
                "id": "39E7AF1A9950A0E28322D930BD83ECFF",
                "email": "g_rossides@crm.com"
            },
            {
                "person_name": "Panayiota2test Demou2test",
                "username": "pdemoutesttest",
                "id": "BF3024F212ED4FAE90FA5393449F43EB",
                "email": "test@crm.com"
            },
            {
                "person_name": "Jack Hadjicosti",
                "username": "J_Hadjicosti",
                "id": "C3F78056AD2C2CC2D7CEE5741F6103C8",
                "email": "j_hadjicosti@crm.com"
            },
            {
                "person_name": "Vasilis 2 Kleanthous",
                "username": "v_kleanthous",
                "id": "69FFC727904A4B359D12C1CE4A528829",
                "email": "v_kleanthous@crm.com"
            },
            {
                "person_name": "Petros Petrou",
                "username": "m_clerides",
                "id": "D502772234A6A5F3DEBF0D77D06D9703",
                "email": "maria.clerides@crm.com"
            },
            {
                "person_name": "Andreas Hadjigeorgiou",
                "username": "lightblack",
                "id": "2B7FD8F1E4AE4AE5BDC280BB478009BA",
                "email": "andreas@lightblack.eu"
            },
            {
                "person_name": "Maria Jones",
                "username": "m.jones",
                "id": "97DD1255B4D061EB0552ECFD10AFDF8A",
                "email": "m.jones@companyTV.com"
            },
            {
                "person_name": "emailtest emailtest",
                "username": "emailtest",
                "id": "BA4A49C11F384ED692585BFE104CAB97",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Persia Xenopoullou ",
                "username": "persy",
                "id": "3274FDE75239692B81B2526BC1A9E429",
                "email": "p_xenopoulou@crm.com"
            },
            {
                "person_name": "Marios Lannister",
                "username": "MPAdministrator",
                "id": "1",
                "email": "sakkascy1986@hotmail.com"
            },
            {
                "person_name": "Eleni Michailidou",
                "username": "emichailidou",
                "id": "63ACDBBC5B39AD2DF5B167FA70EE57DD",
                "email": "e_michailidou@crm.com"
            },
            {
                "person_name": "Andreas Hadjigeorgiou",
                "username": "lightblack",
                "id": "2B7FD8F1E4AE4AE5BDC280BB478009BA",
                "email": "andreas@lightblack.eu"
            },
            {
                "person_name": "Persiaew XenopouLlou ",
                "username": "p_xenopoulou",
                "id": "159C17D9C4B1E48DC129FBC701D38438",
                "email": "p_xenopoulou@crm.com"
            },
            {
                "person_name": "Alex Themistos",
                "username": "a_themistos",
                "id": "6B2220643DBC7E7B151B4229AB0D8F17",
                "email": null
            },
            {
                "person_name": "Katerina Argyrou",
                "username": "kat_arg",
                "id": "533382BA44A946E5A36AE3762011A824",
                "email": null
            },
            {
                "person_name": "Panayiota Demou",
                "username": "p_demou",
                "id": "4927E7EE8BBB4047A35F4F313D0EC6D3",
                "email": "panayiota.demou@crm.com"
            },
            {
                "person_name": "user 123456789",
                "username": "user123456789",
                "id": "811EB82DFDA34A7EB00C6A5AA7DA923A",
                "email": null
            },
            {
                "person_name": "Omar Sawalha",
                "username": "Omar",
                "id": "8A759CCAAC38498FA65F5AAF0D66BD70",
                "email": "se.aya@hotmail.com"
            },
            {
                "person_name": "Rossides Giorkos",
                "username": "g_rossides",
                "id": "4AD9C84FA60F9FE407140E20F707726A",
                "email": "george.rossides@crm.com"
            },
            {
                "person_name": "Katerina Argyrou",
                "username": "k_argyrou",
                "id": "4230DAC160797424CBFE356C1458E791",
                "email": "k_argyrou@crm.com"
            },
            {
                "person_name": "Test Space",
                "username": "test_space",
                "id": "76D6BF53349BF8000BD05FCC2A5B9513",
                "email": null
            },
            {
                "person_name": "name42 p",
                "username": "FriniTest",
                "id": "AD848CDF467C462BD4CF302EF131FA83",
                "email": "f@f.com"
            },
            {
                "person_name": "Persia Xenopoulou",
                "username": "persia_xenopoulou",
                "id": "2A15084589E81D3DA7ABA3C7563F805E",
                "email": "p_xenopoulou@crm.com"
            },
            {
                "person_name": "MPAdministrator",
                "username": "MPAdministrator",
                "id": "1"
            },
            {
                "person_name": "giorgos nikolaou",
                "username": "Sales_Branch1",
                "id": "785EACB7C0C6964E97BF14649116BEEC",
                "email": null
            },
            {
                "person_name": "George Rossides A",
                "username": "g_rossides1",
                "id": "6FB3038B8EB2403A9F213EF67D45256C",
                "email": "g_rossides@crm.com"
            },
            {
                "person_name": "e_michailidou",
                "username": "e_michailidou",
                "id": "B90BAAC08F28D4F9D11D4B08C7919A50"
            },
            {
                "person_name": "CRM DEMO",
                "username": "crmdemo",
                "id": "EE45E7939403344B3AA5F7B8BAC55455",
                "email": null
            },
            {
                "person_name": "Sam Chae",
                "username": "cleverbirds",
                "id": "A39311615E272614164632817CCB2A38",
                "email": "eleni.sites@gmail.com"
            },
            {
                "person_name": "Frini P",
                "username": "f_pouyiouka",
                "id": "823EEDAC57825DF996956E480068A6A9",
                "email": null
            },
            {
                "person_name": "Eleni Michailidou",
                "username": "e_michailidou",
                "id": "B90BAAC08F28D4F9D11D4B08C7919A50",
                "email": "eleni.michailidou@crm.com"
            },
            {
                "person_name": "Georgia Kountouri",
                "username": "g_kountouri",
                "id": "B0CF852BA7364BC6887E00F570903FFD",
                "email": "georgia.kountouri@crm.com"
            },
            {
                "person_name": "Christie Miltiadou",
                "username": "c_miltiadou",
                "id": "1A9637ADB7444373BAE1C814CA0C2678",
                "email": "c_miltiadou@crm.com"
            },
            {
                "person_name": "Super Visor",
                "username": "supervisor",
                "id": "018CA08BC267612F6206D85011FFC5D1",
                "email": "super@visor.com"
            },
            {
                "person_name": "George Neocleous",
                "username": "g_neocleous",
                "id": "D2E3AEB6D8C04A018AB137AD93E7011C",
                "email": null
            },
            {
                "person_name": "Simon Brown",
                "username": "DELBOY",
                "id": "29DE94EBF89A885822BAB8179F2F2686",
                "email": null
            }
        ],
        "response": "OK ",
        "responded_by":
        {
            "person_name": "MPAdministrator",
            "username": "MPAdministrator",
            "id": "1",
            "email": "sakkascy1986@hotmail.com"
        },
        "entity": null,
        "number": "36",
        "subject": "Test Activities Approval def",
        "response_date": "2015-11-03T11:12:27",
        "approval_definition":
        {
            "life_cycle_state": "EFFECTIVE",
            "id": "0189846123CC4F528A409DD590505159",
            "name": "Activity Approval",
            "alternative_code": "ACT_APPR"
        },
        "log_information":
        {
            "updated_date": "2015-11-03T11:12:27",
            "created_date": "2015-11-02T16:12:54",
            "created_by_unit":
            {
                "community_name": "Internal Community",
                "id": "0C3B5CB66ED4AACF5C2FDDAE984704E8",
                "name": "Installation Team 4",
                "group_name": "Paphos",
                "description": null,
                "alternative_code": "IT4"
            },
            "updated_by_unit":
            {
                "community_name": "Internal Community",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "name": "Admin Unit",
                "group_name": "Main Group",
                "description": "r1 Test Description for resource  request tab.Test Description for resource  request tab.",
                "alternative_code": "MG"
            },
            "created_by_user":
            {
                "person_name": "m_ioannou",
                "username": "m_ioannou",
                "id": "C5D6D95C71C4484F9168A5444FC928EF",
                "email": "m_ioannou@crm.com"
            },
            "updated_by_user":
            {
                "person_name": "MPAdministrator",
                "username": "MPAdministrator",
                "id": "1",
                "email": "sakkascy1986@hotmail.com"
            }
        },
        "life_cycle_state": "APPROVED",
        "entity_id": "78F2C4952DF14A38B7F789393AC84EDC",
        "unified_code": "9",
        "id": "BF6C9402849C47ED969CB4ABE7A0FA98",
        "workflow_rule":
        {
            "life_cycle_state": "EFFECTIVE",
            "id": "A94ABA3BDF2745FA8AE8F5B71DD4CA8F",
            "name": "Activity Rule",
            "alternative_code": "AR"
        }
    }
} 

GET approval_requests/list

This method returns information related with approval requests having specific attributes. Multiple approval requests are returned by each call.

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

authorised_user_identifier
(semi-optional)
User IdentifierThe identifier of the authorised user related with the approval requests that should be returned as a result. The allowed user identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the user

username

(semi-optional)

String

The username of the user

approval_definition_identifier

(semi-optional)

Approval Definition IdentifierThe identifier of the approval definition related with the approval requests that should be returned as a result. The allowed approval definition identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the approval definition

name

(semi-optional)

String

The name of the approval definition

alternative_code

(semi-optional)

StringThe alternative code of the approval definition

workflow_rule_identifier

(semi-optional)

Workflow Rule IdentifierThe identifier of the workflow rule that triggered the approval requests that should be returned as a result. The allowed workflow rule identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the workflow rule

name

(semi-optional)

String

The name of the workflow rule

alternative_code

(semi-optional)

StringThe alternative code of the workflow rule

entity

(semi-optional)

String

The name of the entity related with the approval requests that should be returned as a result. The supported entities are the following:

  • ACTIVITIES
  • SERVICEREQUESTS
  • JOBS
  • SUBSCRIPTIONS
  • REWARDOFFERS


REWARDOFFERS entity is supported from CRM.COM R11.0.0


entity_id

(semi-optional)

StringThe ID of the entity related with the approval requests that should be returned as a result

responded_by_user_identifier

(optional)

User IdentifierThe identifier of the responded by user related with the approval requests that should be returned as a result. The allowed user identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the user

username

(semi-optional)

String

The username of the user

unified_code

(optional)

String The unified code of the approval requests that should be returned as a result

life_cycle_state

(optional)

StringThe life cycle state of the approval requests that should be returned as a result. The supported options are PENDING, ACCEPTED, REJECTED or CANCELLED

created_date

(optional)

Date The created date of the approval requests that should be returned as a result.

response_date

(optional)

Date The response date of the approval requests that should be returned as a result.

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

Restrictions

  • It is mandatory to specify at least one of the semi-optional parameters. Multiple of those parameters are allowed to be specified.

Response Data

Name

Type

Description

id

String

The ID of the retrieved approval request

number

String

The number of the retrieved approval request

unified_codeStringThe unified code of the retrieved approval request
life_cycle_stateString

The life cycle state of the retrieved approval request which can be PENDING, APPROVED, REJECTED or CANCELLED

entityString

The name of the entity related with the approval request. The supported entities are the following:

  • ACTIVITIES
  • ADHOCDISCOUNT
  • CREDITNOTES

  • INVOICES

  • JOBS

  • LEADS
  • PAYMENTS
  • REFUNDS
  • REWARDOFFERS
  • SERVICEREQUESTS
  • SUBSCRIPTIONS
  • REWARDOFFERS entity is available from CRM.COM R11.0.0
  • LEADS entity is available from CRM.COM R14.0.0
  • ADHOCDISCOUNT, CREDITNOTES, INVOICES, PAYMENTS, REFUNDS are available from CRM.COM R15.0.0
entity_idStringThe ID of the entity related to the approval request
subjectString

The subject of the retrieved approval request

responseStringThe response of the retrieved approval request
response_dateDateThe date that a response was provided for the retrieved approval request
responded_byUser ObjectThe user that responded to the retrieved approval request
approval_definitionApproval Definition ObjectThe approval definition that was used to create the approval request
workflow_ruleWorkflow Rule ObjectThe workflow rule that triggered the approval request
authorised_users_setSet of Users ObjectsThe users that are authorised to approve, reject or cancel the approval request
log_informationLog Information ObjectThe log information of the retrieved approval request

Referred Objects Response Data

 user object response data

Name

Type

Description

id

String

The ID of the retrieved user

username

String

The user name of the retrieved user

person_name

String

The full name of the retrieved user

email

String

The email of the retrieved user

 approval_definition object response data

Name

Type

Description

id

String

The ID of the retrieved approval definition

alternative_codeStringThe alternative code of the retrieved approval definition
nameStringThe name of the retrieved approval definition
life_cycle_stateString

The life cycle state of the retrieved approval definition. The supported life cycle states are EFFECTIVE or NOT_EFFECTIVE

 workflow_rule object response data

Name

Type

Description

id

String

The ID of the retrieved workflow rule

alternative_codeStringThe alternative code of the retrieved workflow rule
nameStringThe name of the retrieved workflow rule
life_cycle_stateString

The life cycle state of the retrieved workflow rule. The supported life cycle states are EFFECTIVE or NOT_EFFECTIVE

 log_information object response data

Name

Type

Description

created_date

Date

The date that the retrieved record was created

updated_date

Date

The last date that the retrieved record was updated

created_by_unit

Unit Object

The unit that created the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Deprecated from CRM.COM R18.0.0

created_by_business_unit

Unit Object

The unit that created the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Available from CRM.COM R18.0.0

created_by_user

User Object

The user that created the retrieved record

From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled

updated_by_unit

Unit Object

The last unit that updated the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Deprecated from CRM.COM R18.0.0

updated_by_business_unit

Unit Object

The last unit that updated the retrieved record

Available from CRM.COM R18.0.0

updated_by_user

User Object

The last user that updated the retrieved record

From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled

Referred Objects Response Data

 unit object response data

Name

Type

Description

id

String

The ID of the retrieved unit

name

String

The name of the retrieved unit

group_name

String

The name of the group that the retrieved unit belongs to

community_name

String

The name of the community that the retrieved unit belongs to

alternative_code

String

The alternative code of the retrieved unit

description

String

The description of the retrieved unit

 business unit object response data

Name

Type

Description

id

String

The ID of the retrieved business unit

name

String

The name of the retrieved business unit

codeStringThe code of the retrieved business unit
unified_codeString

The unified code of the retrieved business unit

description

String

The description of the retrieved business unit

parent_business_unit_nameStringThe name of the parent business unit that the retrieved business unit belongs to

 user object response data

Name

Type

Description

id

String

The ID of the retrieved user

username

String

The user name of the retrieved user

person_name

String

The full name of the retrieved user

email

String

The email of the retrieved user

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

{
    "status":
    {
        "message": "",
        "description": "",
        "code": "OK"
    },
    "data":
    [
        {
            "authorised_users_set":
            [
                {
                    "person_name": "Rossides Giorkos",
                    "username": "g_rossides",
                    "id": "4AD9C84FA60F9FE407140E20F707726A",
                    "email": "george.rossides@crm.com"
                },
                {
                    "person_name": "name42 p",
                    "username": "FriniTest",
                    "id": "AD848CDF467C462BD4CF302EF131FA83",
                    "email": "f@f.com"
                },
                {
                    "person_name": "Katerina Argyrou",
                    "username": "k_argyrou",
                    "id": "4230DAC160797424CBFE356C1458E791",
                    "email": "k_argyrou@crm.com"
                },
                {
                    "person_name": "Eleni Michailidou",
                    "username": "emichailidou",
                    "id": "63ACDBBC5B39AD2DF5B167FA70EE57DD",
                    "email": "e_michailidou@crm.com"
                },
                {
                    "person_name": "Marios Lannister",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": "sakkascy1986@hotmail.com"
                },
                {
                    "person_name": "Frini P",
                    "username": "f_pouyiouka",
                    "id": "823EEDAC57825DF996956E480068A6A9",
                    "email": null
                },
                {
                    "person_name": "George Rossides",
                    "username": "g.rossides",
                    "id": "39E7AF1A9950A0E28322D930BD83ECFF",
                    "email": "g_rossides@crm.com"
                },
                {
                    "person_name": "Omar Sawalha",
                    "username": "Omar",
                    "id": "8A759CCAAC38498FA65F5AAF0D66BD70",
                    "email": "se.aya@hotmail.com"
                },
                {
                    "person_name": "user 123456789",
                    "username": "user123456789",
                    "id": "811EB82DFDA34A7EB00C6A5AA7DA923A",
                    "email": null
                },
                {
                    "person_name": "Andreas Hadjigeorgiou",
                    "username": "lightblack",
                    "id": "2B7FD8F1E4AE4AE5BDC280BB478009BA",
                    "email": "andreas@lightblack.eu"
                },
                {
                    "person_name": "Katerina Argyrou",
                    "username": "kat_arg",
                    "id": "533382BA44A946E5A36AE3762011A824",
                    "email": null
                },
                {
                    "person_name": "Panayiota Demou",
                    "username": "p_demou",
                    "id": "4927E7EE8BBB4047A35F4F313D0EC6D3",
                    "email": "panayiota.demou@crm.com"
                },
                {
                    "person_name": "e_michailidou",
                    "username": "e_michailidou",
                    "id": "B90BAAC08F28D4F9D11D4B08C7919A50"
                },
                {
                    "person_name": "Christie Miltiadou",
                    "username": "c_miltiadou",
                    "id": "1A9637ADB7444373BAE1C814CA0C2678",
                    "email": "c_miltiadou@crm.com"
                },
                {
                    "person_name": "Andreas Hadjigeorgiou",
                    "username": "lightblack",
                    "id": "2B7FD8F1E4AE4AE5BDC280BB478009BA",
                    "email": "andreas@lightblack.eu"
                },
                {
                    "person_name": "Persia Xenopoulou",
                    "username": "persia_xenopoulou",
                    "id": "2A15084589E81D3DA7ABA3C7563F805E",
                    "email": "p_xenopoulou@crm.com"
                },
                {
                    "person_name": "Test Space",
                    "username": "test_space",
                    "id": "76D6BF53349BF8000BD05FCC2A5B9513",
                    "email": null
                },
                {
                    "person_name": "emailtest emailtest",
                    "username": "emailtest",
                    "id": "BA4A49C11F384ED692585BFE104CAB97",
                    "email": "crm.com.tst@gmail.com"
                },
                {
                    "person_name": "Super Visor",
                    "username": "supervisor",
                    "id": "018CA08BC267612F6206D85011FFC5D1",
                    "email": "super@visor.com"
                },
                {
                    "person_name": "Persia Xenopoullou ",
                    "username": "persy",
                    "id": "3274FDE75239692B81B2526BC1A9E429",
                    "email": "p_xenopoulou@crm.com"
                },
                {
                    "person_name": "George Rossides A",
                    "username": "g_rossides1",
                    "id": "6FB3038B8EB2403A9F213EF67D45256C",
                    "email": "g_rossides@crm.com"
                },
                {
                    "person_name": "CRM DEMO",
                    "username": "crmdemo",
                    "id": "EE45E7939403344B3AA5F7B8BAC55455",
                    "email": null
                },
                {
                    "person_name": "Panayiota2test Demou2test",
                    "username": "pdemoutesttest",
                    "id": "BF3024F212ED4FAE90FA5393449F43EB",
                    "email": "test@crm.com"
                },
                {
                    "person_name": "Sam Chae",
                    "username": "cleverbirds",
                    "id": "A39311615E272614164632817CCB2A38",
                    "email": "eleni.sites@gmail.com"
                },
                {
                    "person_name": "Persiaew XenopouLlou ",
                    "username": "p_xenopoulou",
                    "id": "159C17D9C4B1E48DC129FBC701D38438",
                    "email": "p_xenopoulou@crm.com"
                },
                {
                    "person_name": "Alex Themistos",
                    "username": "a_themistos",
                    "id": "6B2220643DBC7E7B151B4229AB0D8F17",
                    "email": null
                },
                {
                    "person_name": "Jack Hadjicosti",
                    "username": "J_Hadjicosti",
                    "id": "C3F78056AD2C2CC2D7CEE5741F6103C8",
                    "email": "j_hadjicosti@crm.com"
                },
                {
                    "person_name": "George Rossides A",
                    "username": "g_rossides1",
                    "id": "6FB3038B8EB2403A9F213EF67D45256C",
                    "email": "g_rossides@crm.com"
                },
                {
                    "person_name": "Simon Brown",
                    "username": "DELBOY",
                    "id": "29DE94EBF89A885822BAB8179F2F2686",
                    "email": null
                },
                {
                    "person_name": "Georgia Kountouri",
                    "username": "g_kountouri",
                    "id": "B0CF852BA7364BC6887E00F570903FFD",
                    "email": "georgia.kountouri@crm.com"
                },
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1"
                },
                {
                    "person_name": "Petros Petrou",
                    "username": "m_clerides",
                    "id": "D502772234A6A5F3DEBF0D77D06D9703",
                    "email": "maria.clerides@crm.com"
                },
                {
                    "person_name": "Eleni Michailidou",
                    "username": "e_michailidou",
                    "id": "B90BAAC08F28D4F9D11D4B08C7919A50",
                    "email": "eleni.michailidou@crm.com"
                },
                {
                    "person_name": "George Neocleous",
                    "username": "g_neocleous",
                    "id": "D2E3AEB6D8C04A018AB137AD93E7011C",
                    "email": null
                },
                {
                    "person_name": "Maria Jones",
                    "username": "m.jones",
                    "id": "97DD1255B4D061EB0552ECFD10AFDF8A",
                    "email": "m.jones@companyTV.com"
                },
                {
                    "person_name": "Vasilis 2 Kleanthous",
                    "username": "v_kleanthous",
                    "id": "69FFC727904A4B359D12C1CE4A528829",
                    "email": "v_kleanthous@crm.com"
                },
                {
                    "person_name": "giorgos nikolaou",
                    "username": "Sales_Branch1",
                    "id": "785EACB7C0C6964E97BF14649116BEEC",
                    "email": null
                }
            ],
            "response": null,
            "responded_by": null,
            "entity": null,
            "number": "40",
            "subject": "Test Activities Approval def",
            "response_date": null,
            "approval_definition":
            {
                "life_cycle_state": "EFFECTIVE",
                "id": "0189846123CC4F528A409DD590505159",
                "name": "Activity Approval",
                "alternative_code": "ACT_APPR"
            },
            "log_information":
            {
                "updated_date": "2015-11-05T09:06:22",
                "created_date": "2015-11-05T09:06:22",
                "created_by_unit":
                {
                    "community_name": "Internal Community",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "name": "Admin Unit",
                    "group_name": "Main Group",
                    "description": "r1 Test Description for resource  request tab.Test Description for resource  request tab.",
                    "alternative_code": "MG"
                },
                "updated_by_unit":
                {
                    "community_name": "Internal Community",
                    "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                    "name": "Admin Unit",
                    "group_name": "Main Group",
                    "description": "r1 Test Description for resource  request tab.Test Description for resource  request tab.",
                    "alternative_code": "MG"
                },
                "created_by_user":
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": "sakkascy1986@hotmail.com"
                },
                "updated_by_user":
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": "sakkascy1986@hotmail.com"
                }
            },
            "life_cycle_state": "PENDING",
            "entity_id": "9FF8FCDAC2BD433AB7D3043EB43875A4",
            "unified_code": "13",
            "id": "EF0B62DAA97146F0BC243276C2599EB2",
            "workflow_rule":
            {
                "life_cycle_state": "EFFECTIVE",
                "id": "A94ABA3BDF2745FA8AE8F5B71DD4CA8F",
                "name": "Activity Rule",
                "alternative_code": "AR"
            }
        },
        {
            "authorised_users_set":
            [
                {
                    "person_name": "Eleni Michailidou",
                    "username": "e_michailidou",
                    "id": "B90BAAC08F28D4F9D11D4B08C7919A50",
                    "email": "eleni.michailidou@crm.com"
                },
                {
                    "person_name": "user 123456789",
                    "username": "user123456789",
                    "id": "811EB82DFDA34A7EB00C6A5AA7DA923A",
                    "email": null
                },
                {
                    "person_name": "name42 p",
                    "username": "FriniTest",
                    "id": "AD848CDF467C462BD4CF302EF131FA83",
                    "email": "f@f.com"
                },
                {
                    "person_name": "George Rossides A",
                    "username": "g_rossides1",
                    "id": "6FB3038B8EB2403A9F213EF67D45256C",
                    "email": "g_rossides@crm.com"
                },
                {
                    "person_name": "Marios Lannister",
                    "username": "MPAdministrator",
                    "id": "1",
                    "email": "sakkascy1986@hotmail.com"
                },
                {
                    "person_name": "Persia Xenopoulou",
                    "username": "persia_xenopoulou",
                    "id": "2A15084589E81D3DA7ABA3C7563F805E",
                    "email": "p_xenopoulou@crm.com"
                },
                {
                    "person_name": "Omar Sawalha",
                    "username": "Omar",
                    "id": "8A759CCAAC38498FA65F5AAF0D66BD70",
                    "email": "se.aya@hotmail.com"
                },
                {
                    "person_name": "Frini P",
                    "username": "f_pouyiouka",
                    "id": "823EEDAC57825DF996956E480068A6A9",
                    "email": null
                },
                {
                    "person_name": "Georgia Kountouri",
                    "username": "g_kountouri",
                    "id": "B0CF852BA7364BC6887E00F570903FFD",
                    "email": "georgia.kountouri@crm.com"
                },
                {
                    "person_name": "CRM DEMO",
                    "username": "crmdemo",
                    "id": "EE45E7939403344B3AA5F7B8BAC55455",
                    "email": null
                },
                {
                    "person_name": "Christie Miltiadou",
                    "username": "c_miltiadou",
                    "id": "1A9637ADB7444373BAE1C814CA0C2678",
                    "email": "c_miltiadou@crm.com"
                },
                {
                    "person_name": "MPAdministrator",
                    "username": "MPAdministrator",
                    "id": "1"
                },
                {
                    "person_name": "Sam Chae",
                    "username": "cleverbirds",
                    "id": "A39311615E272614164632817CCB2A38",
                    "email": "eleni.sites@gmail.com"
                },
                {
                    "person_name": "emailtest emailtest",
                    "username": "emailtest",
                    "id": "BA4A49C11F384ED692585BFE104CAB97",
                    "email": "crm.com.tst@gmail.com"
                },
                {
                    "person_name": "George Rossides A",
                    "username": "g_rossides1",
                    "id": "6FB3038B8EB2403A9F213EF67D45256C",
                    "email": "g_rossides@crm.com"
                },
                {
                    "person_name": "George Neocleous",
                    "username": "g_neocleous",
                    "id": "D2E3AEB6D8C04A018AB137AD93E7011C",
                    "email": null
                },
                {
                    "person_name": "Andreas Hadjigeorgiou",
                    "username": "lightblack",
                    "id": "2B7FD8F1E4AE4AE5BDC280BB478009BA",
                    "email": "andreas@lightblack.eu"
                },
                {
                    "person_name": "Persiaew XenopouLlou ",
                    "username": "p_xenopoulou",
                    "id": "159C17D9C4B1E48DC129FBC701D38438",
                    "email": "p_xenopoulou@crm.com"
                },
                {
                    "person_name": "George Rossides",
                    "username": "g.rossides",
                    "id": "39E7AF1A9950A0E28322D930BD83ECFF",
                    "email": "g_rossides@crm.com"
                },
                {
                    "person_name": "giorgos nikolaou",
                    "username": "Sales_Branch1",
                    "id": "785EACB7C0C6964E97BF14649116BEEC",
                    "email": null
                },
                {
                    "person_name": "Panayiota Demou",
                    "username": "p_demou",
                    "id": "4927E7EE8BBB4047A35F4F313D0EC6D3",
                    "email": "panayiota.demou@crm.com"
                },
                {
                    "person_name": "Andreas Hadjigeorgiou",
                    "username": "lightblack",
                    "id": "2B7FD8F1E4AE4AE5BDC280BB478009BA",
                    "email": "andreas@lightblack.eu"
                },
                {
                    "person_name": "Persia Xenopoullou ",
                    "username": "persy",
                    "id": "3274FDE75239692B81B2526BC1A9E429",
                    "email": "p_xenopoulou@crm.com"
                },
                {
                    "person_name": "Test Space",
                    "username": "test_space",
                    "id": "76D6BF53349BF8000BD05FCC2A5B9513",
                    "email": null
                },
                {
                    "person_name": "Katerina Argyrou",
                    "username": "k_argyrou",
                    "id": "4230DAC160797424CBFE356C1458E791",
                    "email": "k_argyrou@crm.com"
                },
                {
                    "person_name": "Simon Brown",
                    "username": "DELBOY",
                    "id": "29DE94EBF89A885822BAB8179F2F2686",
                    "email": null
                },
                {
                    "person_name": "Rossides Giorkos",
                    "username": "g_rossides",
                    "id": "4AD9C84FA60F9FE407140E20F707726A",
                    "email": "george.rossides@crm.com"
                },
                {
                    "person_name": "Jack Hadjicosti",
                    "username": "J_Hadjicosti",
                    "id": "C3F78056AD2C2CC2D7CEE5741F6103C8",
                    "email": "j_hadjicosti@crm.com"
                },
                {
                    "person_name": "Panayiota2test Demou2test",
                    "username": "pdemoutesttest",
                    "id": "BF3024F212ED4FAE90FA5393449F43EB",
                    "email": "test@crm.com"
                },
                {
                    "person_name": "Petros Petrou",
                    "username": "m_clerides",
                    "id": "D502772234A6A5F3DEBF0D77D06D9703",
                    "email": "maria.clerides@crm.com"
                },
                {
                    "person_name": "e_michailidou",
                    "username": "e_michailidou",
                    "id": "B90BAAC08F28D4F9D11D4B08C7919A50"
                },
                {
                    "person_name": "Maria Jones",
                    "username": "m.jones",
                    "id": "97DD1255B4D061EB0552ECFD10AFDF8A",
                    "email": "m.jones@companyTV.com"
                },
                {
                    "person_name": "Vasilis 2 Kleanthous",
                    "username": "v_kleanthous",
                    "id": "69FFC727904A4B359D12C1CE4A528829",
                    "email": "v_kleanthous@crm.com"
                },
                {
                    "person_name": "Super Visor",
                    "username": "supervisor",
                    "id": "018CA08BC267612F6206D85011FFC5D1",
                    "email": "super@visor.com"
                },
                {
                    "person_name": "Alex Themistos",
                    "username": "a_themistos",
                    "id": "6B2220643DBC7E7B151B4229AB0D8F17",
                    "email": null
                },
                {
                    "person_name": "Eleni Michailidou",
                    "username": "emichailidou",
                    "id": "63ACDBBC5B39AD2DF5B167FA70EE57DD",
                    "email": "e_michailidou@crm.com"
                },
                {
                    "person_name": "Katerina Argyrou",
                    "username": "kat_arg",
                    "id": "533382BA44A946E5A36AE3762011A824",
                    "email": null
                }
            ],
            "response": null,
            "responded_by": null,
            "entity": null,
            "number": "41",
            "subject": "Test Activities Approval def",
            "response_date": null,
            "approval_definition":
            {
                "life_cycle_state": "EFFECTIVE",
                "id": "0189846123CC4F528A409DD590505159",
                "name": "Activity Approval",
                "alternative_code": "ACT_APPR"
            },
            "log_information":
            {
                "updated_date": "2015-11-05T17:44:36",
                "created_date": "2015-11-05T17:44:36",
                "created_by_unit":
                {
                    "community_name": "Internal Community",
                    "id": "0C3B5CB66ED4AACF5C2FDDAE984704E8",
                    "name": "Installation Team 4",
                    "group_name": "Paphos",
                    "description": null,
                    "alternative_code": "IT4"
                },
                "updated_by_unit":
                {
                    "community_name": "Internal Community",
                    "id": "0C3B5CB66ED4AACF5C2FDDAE984704E8",
                    "name": "Installation Team 4",
                    "group_name": "Paphos",
                    "description": null,
                    "alternative_code": "IT4"
                },
                "created_by_user":
                {
                    "person_name": "m_michael_user",
                    "username": "m_michael_user",
                    "id": "970A84FDE9784FCF807597FEA26FA0F1",
                    "email": "m_michael@crm.com"
                },
                "updated_by_user":
                {
                    "person_name": "m_michael_user",
                    "username": "m_michael_user",
                    "id": "970A84FDE9784FCF807597FEA26FA0F1",
                    "email": "m_michael@crm.com"
                }
            },
            "life_cycle_state": "PENDING",
            "entity_id": "1D7C94CAC7AB4BB39B85E91183872F11",
            "unified_code": "14",
            "id": "1548C92A94B34AB7B73612A7889DBE62",
            "workflow_rule":
            {
                "life_cycle_state": "EFFECTIVE",
                "id": "A94ABA3BDF2745FA8AE8F5B71DD4CA8F",
                "name": "Activity Rule",
                "alternative_code": "AR"
            }
        },
    ....
   ]
} 

POST approval_requests/approve

This method is used to approve pending approval requests.  A single approval request can be approved through this method

Resource URL

Parameters

Name

Type

Description

 

token

String

The token retrieved from the login method

 
approval_request_identifier

(mandatory)

Approval Request Identifier

The identifier of the approval request that should be approved. The allowed approval request Identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the approval request

number

(semi-optional)

String

The number of the approval request

Note that only pending approval requests are allowed to be specified

 

response

(mandatory)

String

The response to the approval request as provided by the user that approved the approval request

 

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 approval request

number

String

The number of the retrieved approval request

unified_codeStringThe unified code of the retrieved approval request
life_cycle_stateString

The life cycle state of the retrieved approval request which can be PENDING, APPROVED, REJECTED or CANCELLED

entityString

The name of the entity related with the approval request. The supported entities are the following:

  • ACTIVITIES
  • ADHOCDISCOUNT
  • CREDITNOTES

  • INVOICES

  • JOBS

  • LEADS
  • PAYMENTS
  • REFUNDS
  • REWARDOFFERS
  • SERVICEREQUESTS
  • SUBSCRIPTIONS
  • REWARDOFFERS entity is available from CRM.COM R11.0.0
  • LEADS entity is available from CRM.COM R14.0.0
  • ADHOCDISCOUNT, CREDITNOTES, INVOICES, PAYMENTS, REFUNDS are available from CRM.COM R15.0.0
entity_idStringThe ID of the entity related to the approval request
subjectString

The subject of the retrieved approval request

responseStringThe response of the retrieved approval request
response_dateDateThe date that a response was provided for the retrieved approval request
responded_byUser ObjectThe user that responded to the retrieved approval request
approval_definitionApproval Definition ObjectThe approval definition that was used to create the approval request
workflow_ruleWorkflow Rule ObjectThe workflow rule that triggered the approval request
authorised_users_setSet of Users ObjectsThe users that are authorised to approve, reject or cancel the approval request
log_informationLog Information ObjectThe log information of the retrieved approval request

Referred Objects Response Data

 user object response data

Name

Type

Description

id

String

The ID of the retrieved user

username

String

The user name of the retrieved user

person_name

String

The full name of the retrieved user

email

String

The email of the retrieved user

 approval_definition object response data

Name

Type

Description

id

String

The ID of the retrieved approval definition

alternative_codeStringThe alternative code of the retrieved approval definition
nameStringThe name of the retrieved approval definition
life_cycle_stateString

The life cycle state of the retrieved approval definition. The supported life cycle states are EFFECTIVE or NOT_EFFECTIVE

 workflow_rule object response data

Name

Type

Description

id

String

The ID of the retrieved workflow rule

alternative_codeStringThe alternative code of the retrieved workflow rule
nameStringThe name of the retrieved workflow rule
life_cycle_stateString

The life cycle state of the retrieved workflow rule. The supported life cycle states are EFFECTIVE or NOT_EFFECTIVE

 log_information object response data

Name

Type

Description

created_date

Date

The date that the retrieved record was created

updated_date

Date

The last date that the retrieved record was updated

created_by_unit

Unit Object

The unit that created the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Deprecated from CRM.COM R18.0.0

created_by_business_unit

Unit Object

The unit that created the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Available from CRM.COM R18.0.0

created_by_user

User Object

The user that created the retrieved record

From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled

updated_by_unit

Unit Object

The last unit that updated the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Deprecated from CRM.COM R18.0.0

updated_by_business_unit

Unit Object

The last unit that updated the retrieved record

Available from CRM.COM R18.0.0

updated_by_user

User Object

The last user that updated the retrieved record

From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled

Referred Objects Response Data

 unit object response data

Name

Type

Description

id

String

The ID of the retrieved unit

name

String

The name of the retrieved unit

group_name

String

The name of the group that the retrieved unit belongs to

community_name

String

The name of the community that the retrieved unit belongs to

alternative_code

String

The alternative code of the retrieved unit

description

String

The description of the retrieved unit

 business unit object response data

Name

Type

Description

id

String

The ID of the retrieved business unit

name

String

The name of the retrieved business unit

codeStringThe code of the retrieved business unit
unified_codeString

The unified code of the retrieved business unit

description

String

The description of the retrieved business unit

parent_business_unit_nameStringThe name of the parent business unit that the retrieved business unit belongs to

 user object response data

Name

Type

Description

id

String

The ID of the retrieved user

username

String

The user name of the retrieved user

person_name

String

The full name of the retrieved user

email

String

The email of the retrieved user

Examples

 Example 1

HTTP Method: POST

 

Request:

Body:

{
          "token":"438BA44BD33B44EEBC77746030A92629",
          "approval_request_identifier":{"number":"40"},
          "response":"Test from API"
} 

 

Response:

{
    "status":
    {
        "message": "",
        "description": "",
        "code": "OK"
    },
    "data":
    {
        "authorised_users_set":
        [
            {
                "person_name": "Marios Lannister",
                "username": "MPAdministrator",
                "id": "1",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Eleni Michailidou",
                "username": "emichailidou",
                "id": "63ACDBBC5B39AD2DF5B167FA70EE57DD",
                "email": "crm.com.tst@gmail.com"
            }
        ],
        "response": "Test from API",
        "responded_by":
        {
            "person_name": "Marios Lannister",
            "username": "MPAdministrator",
            "id": "1"
        },
        "entity": "ACTIVITIES",
        "number": "40",
        "subject": "Approval for Activities by Manager and Assigned to User",
        "response_date": "2016-01-19T11:01:00",
        "approval_definition":
        {
            "life_cycle_state": "EFFECTIVE",
            "id": "D159E061650D40E689CADDF17ABB424A",
            "name": "Installation Approval WT",
            "alternative_code": "IAW"
        },
        "log_information":
        {
            "updated_date": "2016-01-19T11:01:00",
            "created_date": "2016-01-22T12:19:47",
            "created_by_unit":
            {
                "community_name": "Internal Community",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "name": "Admin Unit",
                "group_name": "Main Group",
                "description": "r1",
                "alternative_code": "MG"
            },
            "updated_by_unit":
            {
                "community_name": "Internal Community",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "name": "Admin Unit",
                "group_name": "Main Group",
                "description": "r1",
                "alternative_code": "MG"
            },
            "created_by_user":
            {
                "person_name": "MPAdministrator",
                "username": "MPAdministrator",
                "id": "1",
                "email": "crm.com.tst@gmail.com"
            },
            "updated_by_user":
            {
                "person_name": "Marios Lannister",
                "username": "MPAdministrator",
                "id": "1"
            }
        },
        "life_cycle_state": "APPROVED",
        "entity_id": "05B26D3F1B494780B9108B8876AD2A5A",
        "unified_code": "31",
        "id": "E7FA4634AF0D435E8DF926E53BD2A0B3",
        "workflow_rule":
        {
            "life_cycle_state": "EFFECTIVE",
            "id": "F935C2C73CB948DCBD5101DFFF79FC6E",
            "name": "Installations Activities - Approvals WT",
            "alternative_code": "IA-AW"
        }
    }
} 

POST approval_requests/reject

This method is used to reject pending approval requests.  A single approval request can be rejected through this method

Resource URL

Parameters

Name

Type

Description

 

token

String

The token retrieved from the login method

 
approval_request_identifier

(mandatory)

Approval Request Identifier

The identifier of the approval request that should be rejected. The allowed approval request Identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the approval request

number

(semi-optional)

String

The number of the approval request

Note that only pending approval requests are allowed to be specified

 

response

(mandatory)

String

The response to the approval request as provided by the user that rejected the approval request

 

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 approval request

number

String

The number of the retrieved approval request

unified_codeStringThe unified code of the retrieved approval request
life_cycle_stateString

The life cycle state of the retrieved approval request which can be PENDING, APPROVED, REJECTED or CANCELLED

entityString

The name of the entity related with the approval request. The supported entities are the following:

  • ACTIVITIES
  • ADHOCDISCOUNT
  • CREDITNOTES

  • INVOICES

  • JOBS

  • LEADS
  • PAYMENTS
  • REFUNDS
  • REWARDOFFERS
  • SERVICEREQUESTS
  • SUBSCRIPTIONS
  • REWARDOFFERS entity is available from CRM.COM R11.0.0
  • LEADS entity is available from CRM.COM R14.0.0
  • ADHOCDISCOUNT, CREDITNOTES, INVOICES, PAYMENTS, REFUNDS are available from CRM.COM R15.0.0
entity_idStringThe ID of the entity related to the approval request
subjectString

The subject of the retrieved approval request

responseStringThe response of the retrieved approval request
response_dateDateThe date that a response was provided for the retrieved approval request
responded_byUser ObjectThe user that responded to the retrieved approval request
approval_definitionApproval Definition ObjectThe approval definition that was used to create the approval request
workflow_ruleWorkflow Rule ObjectThe workflow rule that triggered the approval request
authorised_users_setSet of Users ObjectsThe users that are authorised to approve, reject or cancel the approval request
log_informationLog Information ObjectThe log information of the retrieved approval request

Referred Objects Response Data

 user object response data

Name

Type

Description

id

String

The ID of the retrieved user

username

String

The user name of the retrieved user

person_name

String

The full name of the retrieved user

email

String

The email of the retrieved user

 approval_definition object response data

Name

Type

Description

id

String

The ID of the retrieved approval definition

alternative_codeStringThe alternative code of the retrieved approval definition
nameStringThe name of the retrieved approval definition
life_cycle_stateString

The life cycle state of the retrieved approval definition. The supported life cycle states are EFFECTIVE or NOT_EFFECTIVE

 workflow_rule object response data

Name

Type

Description

id

String

The ID of the retrieved workflow rule

alternative_codeStringThe alternative code of the retrieved workflow rule
nameStringThe name of the retrieved workflow rule
life_cycle_stateString

The life cycle state of the retrieved workflow rule. The supported life cycle states are EFFECTIVE or NOT_EFFECTIVE

 log_information object response data

Name

Type

Description

created_date

Date

The date that the retrieved record was created

updated_date

Date

The last date that the retrieved record was updated

created_by_unit

Unit Object

The unit that created the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Deprecated from CRM.COM R18.0.0

created_by_business_unit

Unit Object

The unit that created the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Available from CRM.COM R18.0.0

created_by_user

User Object

The user that created the retrieved record

From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled

updated_by_unit

Unit Object

The last unit that updated the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Deprecated from CRM.COM R18.0.0

updated_by_business_unit

Unit Object

The last unit that updated the retrieved record

Available from CRM.COM R18.0.0

updated_by_user

User Object

The last user that updated the retrieved record

From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled

Referred Objects Response Data

 unit object response data

Name

Type

Description

id

String

The ID of the retrieved unit

name

String

The name of the retrieved unit

group_name

String

The name of the group that the retrieved unit belongs to

community_name

String

The name of the community that the retrieved unit belongs to

alternative_code

String

The alternative code of the retrieved unit

description

String

The description of the retrieved unit

 business unit object response data

Name

Type

Description

id

String

The ID of the retrieved business unit

name

String

The name of the retrieved business unit

codeStringThe code of the retrieved business unit
unified_codeString

The unified code of the retrieved business unit

description

String

The description of the retrieved business unit

parent_business_unit_nameStringThe name of the parent business unit that the retrieved business unit belongs to

 user object response data

Name

Type

Description

id

String

The ID of the retrieved user

username

String

The user name of the retrieved user

person_name

String

The full name of the retrieved user

email

String

The email of the retrieved user

Examples

 Example 1

HTTP Method: POST

 

Request:

Body:

{
          "token":"438BA44BD33B44EEBC77746030A92629",
          "approval_request_identifier":{"number":"35"},
          "response":"Test from API"
}  

 

Response:

{
    "status":
    {
        "message": "",
        "description": "",
        "code": "OK"
    },
    "data":
    {
        "authorised_users_set":
        [
            {
                "person_name": "Marios Lannister",
                "username": "MPAdministrator",
                "id": "1",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Eleni Michailidou",
                "username": "emichailidou",
                "id": "63ACDBBC5B39AD2DF5B167FA70EE57DD",
                "email": "crm.com.tst@gmail.com"
            }
        ],
        "response": "Test from API",
        "responded_by":
        {
            "person_name": "Marios Lannister",
            "username": "MPAdministrator",
            "id": "1"
        },
        "entity": "ACTIVITIES",
        "number": "35",
        "subject": "Approval for Activities by Manager and Assigned to User",
        "response_date": "2016-01-19T11:05:01",
        "approval_definition":
        {
            "life_cycle_state": "EFFECTIVE",
            "id": "D159E061650D40E689CADDF17ABB424A",
            "name": "Installation Approval WT",
            "alternative_code": "IAW"
        },
        "log_information":
        {
            "updated_date": "2016-01-19T11:05:01",
            "created_date": "2016-01-15T12:46:37",
            "created_by_unit":
            {
                "community_name": "Internal Community",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "name": "Admin Unit",
                "group_name": "Main Group",
                "description": "r1",
                "alternative_code": "MG"
            },
            "updated_by_unit":
            {
                "community_name": "Internal Community",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "name": "Admin Unit",
                "group_name": "Main Group",
                "description": "r1",
                "alternative_code": "MG"
            },
            "created_by_user":
            {
                "person_name": "emichailidou",
                "username": "emichailidou",
                "id": "63ACDBBC5B39AD2DF5B167FA70EE57DD",
                "email": "crm.com.tst@gmail.com"
            },
            "updated_by_user":
            {
                "person_name": "Marios Lannister",
                "username": "MPAdministrator",
                "id": "1"
            }
        },
        "life_cycle_state": "REJECTED",
        "entity_id": "8EA429235CA8401BB9DFAF2CBBDB53B1",
        "unified_code": "27",
        "id": "D36C79EDCD024309ADB9F1AAC1B9046C",
        "workflow_rule":
        {
            "life_cycle_state": "EFFECTIVE",
            "id": "F935C2C73CB948DCBD5101DFFF79FC6E",
            "name": "Installations Activities - Approvals WT",
            "alternative_code": "IA-AW"
        }
    }
} 

POST approval_requests/cancel

This method is used to cancel pending approval requests.  A single approval request can be cancelled through this method

Resource URL

Parameters

Name

Type

Description

 

token

String

The token retrieved from the login method

 
approval_request_identifier

(mandatory)

Approval Request Identifier

The identifier of the approval request that should be cancelled. The allowed approval request Identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the approval request

number

(semi-optional)

String

The number of the approval request

Note that only pending approval requests are allowed to be specified

 

response

(mandatory)

String

The response to the approval request as provided by the user that cancelled the approval request

 

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 approval request

number

String

The number of the retrieved approval request

unified_codeStringThe unified code of the retrieved approval request
life_cycle_stateString

The life cycle state of the retrieved approval request which can be PENDING, APPROVED, REJECTED or CANCELLED

entityString

The name of the entity related with the approval request. The supported entities are the following:

  • ACTIVITIES
  • ADHOCDISCOUNT
  • CREDITNOTES

  • INVOICES

  • JOBS

  • LEADS
  • PAYMENTS
  • REFUNDS
  • REWARDOFFERS
  • SERVICEREQUESTS
  • SUBSCRIPTIONS
  • REWARDOFFERS entity is available from CRM.COM R11.0.0
  • LEADS entity is available from CRM.COM R14.0.0
  • ADHOCDISCOUNT, CREDITNOTES, INVOICES, PAYMENTS, REFUNDS are available from CRM.COM R15.0.0
entity_idStringThe ID of the entity related to the approval request
subjectString

The subject of the retrieved approval request

responseStringThe response of the retrieved approval request
response_dateDateThe date that a response was provided for the retrieved approval request
responded_byUser ObjectThe user that responded to the retrieved approval request
approval_definitionApproval Definition ObjectThe approval definition that was used to create the approval request
workflow_ruleWorkflow Rule ObjectThe workflow rule that triggered the approval request
authorised_users_setSet of Users ObjectsThe users that are authorised to approve, reject or cancel the approval request
log_informationLog Information ObjectThe log information of the retrieved approval request

Referred Objects Response Data

 user object response data

Name

Type

Description

id

String

The ID of the retrieved user

username

String

The user name of the retrieved user

person_name

String

The full name of the retrieved user

email

String

The email of the retrieved user

 approval_definition object response data

Name

Type

Description

id

String

The ID of the retrieved approval definition

alternative_codeStringThe alternative code of the retrieved approval definition
nameStringThe name of the retrieved approval definition
life_cycle_stateString

The life cycle state of the retrieved approval definition. The supported life cycle states are EFFECTIVE or NOT_EFFECTIVE

 workflow_rule object response data

Name

Type

Description

id

String

The ID of the retrieved workflow rule

alternative_codeStringThe alternative code of the retrieved workflow rule
nameStringThe name of the retrieved workflow rule
life_cycle_stateString

The life cycle state of the retrieved workflow rule. The supported life cycle states are EFFECTIVE or NOT_EFFECTIVE

 log_information object response data

Name

Type

Description

created_date

Date

The date that the retrieved record was created

updated_date

Date

The last date that the retrieved record was updated

created_by_unit

Unit Object

The unit that created the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Deprecated from CRM.COM R18.0.0

created_by_business_unit

Unit Object

The unit that created the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Available from CRM.COM R18.0.0

created_by_user

User Object

The user that created the retrieved record

From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled

updated_by_unit

Unit Object

The last unit that updated the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Deprecated from CRM.COM R18.0.0

updated_by_business_unit

Unit Object

The last unit that updated the retrieved record

Available from CRM.COM R18.0.0

updated_by_user

User Object

The last user that updated the retrieved record

From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled

Referred Objects Response Data

 unit object response data

Name

Type

Description

id

String

The ID of the retrieved unit

name

String

The name of the retrieved unit

group_name

String

The name of the group that the retrieved unit belongs to

community_name

String

The name of the community that the retrieved unit belongs to

alternative_code

String

The alternative code of the retrieved unit

description

String

The description of the retrieved unit

 business unit object response data

Name

Type

Description

id

String

The ID of the retrieved business unit

name

String

The name of the retrieved business unit

codeStringThe code of the retrieved business unit
unified_codeString

The unified code of the retrieved business unit

description

String

The description of the retrieved business unit

parent_business_unit_nameStringThe name of the parent business unit that the retrieved business unit belongs to

 user object response data

Name

Type

Description

id

String

The ID of the retrieved user

username

String

The user name of the retrieved user

person_name

String

The full name of the retrieved user

email

String

The email of the retrieved user

Examples

 Example 1

HTTP Method: POST

 

Request:

Body:

{
          "token":"438BA44BD33B44EEBC77746030A92629",
          "approval_request_identifier":{"number":"31"},
          "response":"Test from API"
} 

 

Response:

{
    "status":
    {
        "message": "",
        "description": "",
        "code": "OK"
    },
    "data":
    {
        "authorised_users_set":
        [
            {
                "person_name": "Marios Lannister",
                "username": "MPAdministrator",
                "id": "1",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Eleni Michailidou",
                "username": "emichailidou",
                "id": "63ACDBBC5B39AD2DF5B167FA70EE57DD",
                "email": "crm.com.tst@gmail.com"
            }
        ],
        "response": "Test from API",
        "responded_by":
        {
            "person_name": "Marios Lannister",
            "username": "MPAdministrator",
            "id": "1"
        },
        "entity": "ACTIVITIES",
        "number": "31",
        "subject": "Approval for Activities by Manager and Assigned to User",
        "response_date": "2016-01-19T11:08:22",
        "approval_definition":
        {
            "life_cycle_state": "EFFECTIVE",
            "id": "D159E061650D40E689CADDF17ABB424A",
            "name": "Installation Approval WT",
            "alternative_code": "IAW"
        },
        "log_information":
        {
            "updated_date": "2016-01-19T11:08:22",
            "created_date": "2016-01-15T12:24:57",
            "created_by_unit":
            {
                "community_name": "Internal Community",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "name": "Admin Unit",
                "group_name": "Main Group",
                "description": "r1",
                "alternative_code": "MG"
            },
            "updated_by_unit":
            {
                "community_name": "Internal Community",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "name": "Admin Unit",
                "group_name": "Main Group",
                "description": "r1",
                "alternative_code": "MG"
            },
            "created_by_user":
            {
                "person_name": "emichailidou",
                "username": "emichailidou",
                "id": "63ACDBBC5B39AD2DF5B167FA70EE57DD",
                "email": "crm.com.tst@gmail.com"
            },
            "updated_by_user":
            {
                "person_name": "Marios Lannister",
                "username": "MPAdministrator",
                "id": "1"
            }
        },
        "life_cycle_state": "CANCELLED",
        "entity_id": "62CBD15D374A409EBD84445ACB5B0AD1",
        "unified_code": "24",
        "id": "3A27633CD3D64779BC21E5281362563C",
        "workflow_rule":
        {
            "life_cycle_state": "EFFECTIVE",
            "id": "F935C2C73CB948DCBD5101DFFF79FC6E",
            "name": "Installations Activities - Approvals WT",
            "alternative_code": "IA-AW"
        }
    }
} 

POST approval_requests/delete

This method is used to delete rejected, approved or cancelled approval requests.  A single approval request can be deleted through this method

Resource URL

Parameters

Name

Type

Description

 

token

String

The token retrieved from the login method

 
approval_request_identifier

(mandatory)

Approval Request Identifier

The identifier of the approval request that should be deleted. The allowed approval request Identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the approval request

number

(semi-optional)

String

The number of the approval request

Note that only rejected, approved or cancelled approval requests are allowed to be specified

 

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 approval request

number

String

The number of the retrieved approval request

unified_codeStringThe unified code of the retrieved approval request
life_cycle_stateString

The life cycle state of the retrieved approval request which can be PENDING, APPROVED, REJECTED or CANCELLED

entityString

The name of the entity related with the approval request. The supported entities are the following:

  • ACTIVITIES
  • ADHOCDISCOUNT
  • CREDITNOTES

  • INVOICES

  • JOBS

  • LEADS
  • PAYMENTS
  • REFUNDS
  • REWARDOFFERS
  • SERVICEREQUESTS
  • SUBSCRIPTIONS
  • REWARDOFFERS entity is available from CRM.COM R11.0.0
  • LEADS entity is available from CRM.COM R14.0.0
  • ADHOCDISCOUNT, CREDITNOTES, INVOICES, PAYMENTS, REFUNDS are available from CRM.COM R15.0.0
entity_idStringThe ID of the entity related to the approval request
subjectString

The subject of the retrieved approval request

responseStringThe response of the retrieved approval request
response_dateDateThe date that a response was provided for the retrieved approval request
responded_byUser ObjectThe user that responded to the retrieved approval request
approval_definitionApproval Definition ObjectThe approval definition that was used to create the approval request
workflow_ruleWorkflow Rule ObjectThe workflow rule that triggered the approval request
authorised_users_setSet of Users ObjectsThe users that are authorised to approve, reject or cancel the approval request
log_informationLog Information ObjectThe log information of the retrieved approval request

Referred Objects Response Data

 user object response data

Name

Type

Description

id

String

The ID of the retrieved user

username

String

The user name of the retrieved user

person_name

String

The full name of the retrieved user

email

String

The email of the retrieved user

 approval_definition object response data

Name

Type

Description

id

String

The ID of the retrieved approval definition

alternative_codeStringThe alternative code of the retrieved approval definition
nameStringThe name of the retrieved approval definition
life_cycle_stateString

The life cycle state of the retrieved approval definition. The supported life cycle states are EFFECTIVE or NOT_EFFECTIVE

 workflow_rule object response data

Name

Type

Description

id

String

The ID of the retrieved workflow rule

alternative_codeStringThe alternative code of the retrieved workflow rule
nameStringThe name of the retrieved workflow rule
life_cycle_stateString

The life cycle state of the retrieved workflow rule. The supported life cycle states are EFFECTIVE or NOT_EFFECTIVE

 log_information object response data

Name

Type

Description

created_date

Date

The date that the retrieved record was created

updated_date

Date

The last date that the retrieved record was updated

created_by_unit

Unit Object

The unit that created the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Deprecated from CRM.COM R18.0.0

created_by_business_unit

Unit Object

The unit that created the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Available from CRM.COM R18.0.0

created_by_user

User Object

The user that created the retrieved record

From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled

updated_by_unit

Unit Object

The last unit that updated the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Deprecated from CRM.COM R18.0.0

updated_by_business_unit

Unit Object

The last unit that updated the retrieved record

Available from CRM.COM R18.0.0

updated_by_user

User Object

The last user that updated the retrieved record

From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled

Referred Objects Response Data

 unit object response data

Name

Type

Description

id

String

The ID of the retrieved unit

name

String

The name of the retrieved unit

group_name

String

The name of the group that the retrieved unit belongs to

community_name

String

The name of the community that the retrieved unit belongs to

alternative_code

String

The alternative code of the retrieved unit

description

String

The description of the retrieved unit

 business unit object response data

Name

Type

Description

id

String

The ID of the retrieved business unit

name

String

The name of the retrieved business unit

codeStringThe code of the retrieved business unit
unified_codeString

The unified code of the retrieved business unit

description

String

The description of the retrieved business unit

parent_business_unit_nameStringThe name of the parent business unit that the retrieved business unit belongs to

 user object response data

Name

Type

Description

id

String

The ID of the retrieved user

username

String

The user name of the retrieved user

person_name

String

The full name of the retrieved user

email

String

The email of the retrieved user

Examples

 Example 1

HTTP Method: POST

 

Request:

Body:

{
          "token":"438BA44BD33B44EEBC77746030A92629",
          "approval_request_identifier":{"number":"22"},
          "response":"Test from API"
} 

 

Response:

{
    "status":
    {
        "message": "",
        "description": "",
        "code": "OK"
    },
    "data":
    {
        "authorised_users_set":
        [
            {
                "person_name": "Eleni M2",
                "username": "testuser24",
                "id": "06A60C01C15542C187390ECABB0B657F",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "George Rossides",
                "username": "g.rossides",
                "id": "39E7AF1A9950A0E28322D930BD83ECFF",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Katerina Kyriacou",
                "username": "k.kyriacou",
                "id": "A6685D251DF7405D80D953B40D0C7523",
                "email": null
            },
            {
                "person_name": "Katerina Argyrou",
                "username": "k_argyrou",
                "id": "4230DAC160797424CBFE356C1458E791",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Panayiota2test Demou2test",
                "username": "pdemou",
                "id": "BF3024F212ED4FAE90FA5393449F43EB",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Maria Jones",
                "username": "m.jones",
                "id": "97DD1255B4D061EB0552ECFD10AFDF8A",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Mai Doan",
                "username": "m_doan",
                "id": "A4057D6B1BF445D19F8C89FAABDDEBA0",
                "email": null
            },
            {
                "person_name": "Vasilis Kleanthous",
                "username": "v_kleanthous",
                "id": "FF7F0B0AED065136B0A7B0A883BF48E3",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Elena Michael",
                "username": "E_Michael",
                "id": "A9F1C80F38C44F548B836A33CB2CB743",
                "email": null
            },
            {
                "person_name": "Persy Xen",
                "username": "persy",
                "id": "3274FDE75239692B81B2526BC1A9E429",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "giorgos nikolaou",
                "username": "Sales_Branch1",
                "id": "785EACB7C0C6964E97BF14649116BEEC",
                "email": null
            },
            {
                "person_name": "Marios Lannister",
                "username": "MPAdministrator",
                "id": "1",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "VTVCab  R7 Demo",
                "username": "VTVCAB",
                "id": "036653F80439476698B82FE1A6EA30F9",
                "email": null
            },
            {
                "person_name": "Eleni Michailidou",
                "username": "e_michailidou",
                "id": "B90BAAC08F28D4F9D11D4B08C7919A50",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Super Visor",
                "username": "supervisor",
                "id": "018CA08BC267612F6206D85011FFC5D1",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Panayiota Demou",
                "username": "p_demou",
                "id": "4927E7EE8BBB4047A35F4F313D0EC6D3",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Alex Themistos",
                "username": "a_themistos",
                "id": "6B2220643DBC7E7B151B4229AB0D8F17",
                "email": null
            },
            {
                "person_name": "Frini P",
                "username": "f_pouyiouka",
                "id": "823EEDAC57825DF996956E480068A6A9",
                "email": null
            },
            {
                "person_name": "Marios Ioannou",
                "username": "vtvcab1",
                "id": "B2DBFE2ACF2148689A4245175DC8F729",
                "email": null
            },
            {
                "person_name": "Christie Miltiadou",
                "username": "c_miltiadou",
                "id": "1A9637ADB7444373BAE1C814CA0C2678",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Simon Brown",
                "username": "DELBOY",
                "id": "29DE94EBF89A885822BAB8179F2F2686",
                "email": null
            },
            {
                "person_name": "Petros Petrou",
                "username": "m_clerides",
                "id": "D502772234A6A5F3DEBF0D77D06D9703",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Persia Xenopoulou",
                "username": "p_xenopoulou",
                "id": "5FFEA386E967401CB983DCF7A4CF2993",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "George Famous",
                "username": "analytics",
                "id": "8B92DDD80CD14BA7AE932CF0597907C6",
                "email": "g_famous@crm.com"
            },
            {
                "person_name": "firstname1 lastname1",
                "username": "user1",
                "id": "F873D942AFEF441B88C43B66A956A77D",
                "email": null
            },
            {
                "person_name": "Georgia Kountouri2",
                "username": "g_kountouri",
                "id": "B0CF852BA7364BC6887E00F570903FFD",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Rossides Giorkos",
                "username": "g_rossides",
                "id": "4AD9C84FA60F9FE407140E20F707726A",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "firstname2 lastname2",
                "username": "user2",
                "id": "F4604A49C89240F29357D634B0EFB83C",
                "email": null
            },
            {
                "person_name": "Andreas Hadjigeorgiou",
                "username": "lightblack",
                "id": "2B7FD8F1E4AE4AE5BDC280BB478009BA",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "michael may",
                "username": "may4life",
                "id": "281439D1E8C34481AA4B6F355513899C",
                "email": null
            },
            {
                "person_name": "name42 p",
                "username": "FriniTest",
                "id": "AD848CDF467C462BD4CF302EF131FA83",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Jack Hadjicosti",
                "username": "J_Hadjicosti",
                "id": "C3F78056AD2C2CC2D7CEE5741F6103C8",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Eleni 6 Mich",
                "username": "emichailidou2",
                "id": "DE1483BF011C48828CA8F7A9307620DE",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Ekaterini Tzirtzipi",
                "username": "E_Tzirtzipi",
                "id": "FED57FF8145B470B82DD1F10BC92F791",
                "email": null
            },
            {
                "person_name": "CRM DEMO",
                "username": "crmdemo",
                "id": "EE45E7939403344B3AA5F7B8BAC55455",
                "email": null
            },
            {
                "person_name": "Test Space",
                "username": "test_space",
                "id": "76D6BF53349BF8000BD05FCC2A5B9513",
                "email": null
            },
            {
                "person_name": "Eleni Michailidou",
                "username": "emichailidou",
                "id": "63ACDBBC5B39AD2DF5B167FA70EE57DD",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Pania Xeno",
                "username": "pania_xeno",
                "id": "2A15084589E81D3DA7ABA3C7563F805E",
                "email": "crm.com.tst@gmail.com"
            },
            {
                "person_name": "Katerina Lambrou",
                "username": "k.argyrou",
                "id": "339D08E81F54400B91E107642DBDFC22",
                "email": "katerina_argyrou@crm.com"
            }
        ],
        "response": "Testing API reject.",
        "responded_by":
        {
            "person_name": "emichailidou",
            "username": "emichailidou",
            "id": "63ACDBBC5B39AD2DF5B167FA70EE57DD",
            "email": "crm.com.tst@gmail.com"
        },
        "entity": "SERVICEREQUESTS",
        "number": "22",
        "subject": "Service Request Approvals by Specific Users and Profiles",
        "response_date": "2016-01-15T10:26:25",
        "approval_definition":
        {
            "life_cycle_state": "EFFECTIVE",
            "id": "46DAB81EB8914CAAA3C6183F57DE0946",
            "name": "Service Request Approval WT",
            "alternative_code": "SRAW"
        },
        "log_information":
        {
            "updated_date": "2016-01-19T11:13:19",
            "created_date": "2016-01-13T12:58:23",
            "created_by_unit":
            {
                "community_name": "Internal Community",
                "id": "0330B56C29264E97920B0D7F710DB664",
                "name": "Manchester Unit",
                "group_name": "Manchester Group",
                "description": null,
                "alternative_code": "MU"
            },
            "updated_by_unit":
            {
                "community_name": "Internal Community",
                "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                "name": "Admin Unit",
                "group_name": "Main Group",
                "description": "r1",
                "alternative_code": "MG"
            },
            "created_by_user":
            {
                "person_name": "emichailidou2",
                "username": "emichailidou2",
                "id": "DE1483BF011C48828CA8F7A9307620DE",
                "email": "crm.com.tst@gmail.com"
            },
            "updated_by_user":
            {
                "person_name": "Marios Lannister",
                "username": "MPAdministrator",
                "id": "1"
            }
        },
        "life_cycle_state": "REJECTED",
        "entity_id": "67CE2CA694754423B62E4A1C2D4DC7D4",
        "unified_code": "17",
        "id": "1D772F2CCEDB494AAD6F1F4FD7ACE03E",
        "workflow_rule":
        {
            "life_cycle_state": "EFFECTIVE",
            "id": "4D4E0F0B6DDA4BA7B8B7D378F27D6ED8",
            "name": "New Service Requests WTC7",
            "alternative_code": "NSRW"
        }
    }
} 
  • No labels