Versions Compared

Key

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

Available from CRM.COM R14.0.0

Excerpt

This method is used when a traceable physical good is brought by a customer and will be imported as an Asset to the respective Accounts Receivable. These goods are Owned by Customer and do not have a Physical Good Sale against them. Multiple traceable physical goods can be imported through each call. Fixed Bundles or Physical Goods that are Part of a Bundle are not applicable

...

Name

Type

Description

token

String

The token retrieved from the login method

accounts_receivable_identifier

(mandatory)

Account Receivable Identifier

The identifier of the account receivable that owns the traceable physical good. The allowed account receivable identifier fields are the following:

Include Page
V4:accounts_receivable_identifier_post
V4:accounts_receivable_identifier_post

accounts_receivable_assets_set

(mandatory)

Set of Accounts Receivable Assets

A set of traceable physical goods that were brought by the customer and will be imported into the system as the account owner's Assets

Not applicable for traceable physical goods that are Bundles or Components of a Bundle

fields_set

(optional)

List of Strings, comma separatedA list of fields that should be included in the results. If not specified then all the available fields will be returned

...

Expand
titleExample 1

HTTP Method: POST

{{server}}/crmapi/rest/v2/accounts_receivable/assets/import

 

Request

Response

Code Block
 {
    "data": [
        {
            "ownership_transferred_to": null,
            "product": null,
            "performed_date": null,
            "performed_by_user": null,
            "transferred_by_user": null,
            "stock_in_warehouse_transaction": null,
            "ownership_transferred_from": null,
            "accounts_receivable": null,
            "transfer_date": null,
            "credit_note": null,
            "installed_item": {
                "product": {
                    "code": "Printer",
                    "product_type": {
                        "service_type": null,
                        "used_for_provisioning": false,
                        "alternative_code": "MRTB",
                        "udr_type": null,
                        "composition_method": "FLAT",
                        "name": "Meter Reading Type B",
                        "description": null,
                        "id": "E1B628FD5EBF4F25B83911E76AC94B13",
                        "classification": "PHYSICALGOODS",
                        "physical_good_type": "TRACEABLE"
                    },
                    "alternative_code": "P_11",
                    "description": "Printer",
                    "id": "EF45A7E442744146B62F33BEB2987328",
                    "priority_level": null
                },
                "alternative_code": "Printer2",
                "serial_number": "Printer2",
                "id": "DB2AC2A2054146F2B11D062594B936A5",
                "state": "EFFECTIVE"
            },
            "sales_method": "",
            "returned_by_user": null,
            "id": "951907A4DF7D4C9A9B4916D1227ABECC",
            "invoice": null,
            "job": null,
            "stock_out_warehouse_transaction": null,
            "return_date": null
        },
        {
            "ownership_transferred_to": null,
            "product": null,
            "performed_date": null,
            "performed_by_user": null,
            "transferred_by_user": null,
            "stock_in_warehouse_transaction": null,
            "ownership_transferred_from": null,
            "accounts_receivable": null,
            "transfer_date": null,
            "credit_note": null,
            "installed_item": {
                "product": {
                    "code": "Printer",
                    "product_type": {
                        "service_type": null,
                        "used_for_provisioning": false,
                        "alternative_code": "MRTB",
                        "udr_type": null,
                        "composition_method": "FLAT",
                        "name": "Meter Reading Type B",
                        "description": null,
                        "id": "E1B628FD5EBF4F25B83911E76AC94B13",
                        "classification": "PHYSICALGOODS",
                        "physical_good_type": "TRACEABLE"
                    },
                    "alternative_code": "P_11",
                    "description": "Printer",
                    "id": "EF45A7E442744146B62F33BEB2987328",
                    "priority_level": null
                },
                "alternative_code": "Printer1",
                "serial_number": "Printer1",
                "id": "C52669079E56431FB0F3FE5B7092AC2F",
                "state": "EFFECTIVE"
            },
            "sales_method": "",
            "returned_by_user": null,
            "id": "B20881E9C59F459489603659AFC5BB6B",
            "invoice": null,
            "job": null,
            "stock_out_warehouse_transaction": null,
            "return_date": null
        }
    ],
    "status": {
        "code": "OK",
        "description": "",
        "message": ""
    }
}