Get all MDF budgets

get

/crmRestApi/resources/11.13.18.05/mdfBudgets

Request

Query Parameters
  • When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
  • This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.

    Format: ?fields=Attribute1,Attribute2

    Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2
  • Used as a predefined finder to search the collection.

    Format: ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>

    The following are the available finder names and corresponding finder variables:

    • BudgetVOAltKey: Finds a MDF budget with the specified alternate key.
      Finder Variables:
      • BudgetCode; string; The unique alternate identifier of the MDF budget.
    • MdfRestActiveBudgetFinder: Finds a MDF budget with the specified status code.
      Finder Variables:
      • bindStatus; string; The bind status of the MDF budget.
    • PrimaryKey: Finds a MDF budget with the specified primary key identifier.
      Finder Variables:
      • BudgetId; integer; The unique identifier of the MDF budget.
  • This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
  • This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>

    Example:
    self,canonical
  • Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
  • This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
  • This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY

    Format: ?q=expression1;expression2

    You can use these queryable attributes to filter this collection resource using the q query parameter:
    • ActivatedBy; string; The user who activated the MDF budget.
    • ActivatedById; integer; The user ID of the user who activated the MDF budget.
    • ActivationDate; string; The date on which the MDF budget was activated.
    • BudgetCode; string; The unique alternate identifier of the MDF budget.
    • BudgetId; integer; The unique identifier of the MDF budget.
    • BudgetName; string; The display name for the MDF budget.
    • BudgetType; string; The type of MDF budget.
    • CategoryCode; string; The category of the MDF budget.
    • ConvExchangeRate; number; The currency exchange rate for the MDF budget against the corporate currency.
    • ConversionCurrencyCode; string; The currency code used for conversion in the MDF budget.
    • ConversionRateType; string; The rate type applied against the MDF budget currency.
    • CreatedBy_FN; string; The name of the user who created the MDF budget.
    • CurrencyCode; string; The currency used of the MDF budgeted amount.
    • Description; string; The description of the MDF budget.
    • EndDate; string; The end date for the MDF budget.
    • InactivatedBy; string; The user who inactivated the MDF budget.
    • InactivatedById; integer; The user ID of the user who inactivated the MDF budget.
    • InactivationDate; string; The date on which the MDF budget was or will be inactivated.
    • InitialBudgetAmount; number; The original or initial MDF budget amount.
    • LastUpdateDate; string; The date when the MDF budget was last updated.
    • LastUpdatedBy_FN; string; The name of the user who last updated the MDF budget.
    • NumberClaimsPendingApproval; number; The number of claims pending approval.
    • NumberFundRequestPendingApproval; number; The number of fund requests pending approval.
    • OwnerId; integer; The resource who manages the MDF budget.
    • OwnerNameTrans; string; The owner name of the MDF budget.
    • OwnerPartyNumber; string; Public Unique Identifier for the Resource.
    • PartnerCompanyNumber; string; Public Unique Identifier for the Partner.
    • PartnerId; integer; The unique identifier of the partner company that the MDF budget is assigned to.
    • PartnerNameTrans; string; The partner name of the MDF budget.
    • RecordSet; string; The record set values for MDF budget.
    • StartDate; string; The start date of the MDF budget.
    • StatusCode; string; The activation status of the MDF budget.
    • SubmitClaimsBy; string; The last date on which a MDF budget claim will be accepted for reimbursement.
    • SubmitFundRequestBy; string; The last date on which a MDF budget fund request will be accepted.
    • TotalApprovedClaimAmount; number; The total amount of approved claims for expense reimbursements against the MDF budget.
    • TotalApprovedRequestAmount; number; The total approved fund requests for a MDF budget.
    • TotalAvailableBudgetAmount; number; The MDF budget amount available for fund requests and claims.
    • TotalClaimSettledAmount; number; The total amount of MDF budget claims for reimbursement that are financially settled.
    • TotalOutstandingClaimLiabilityAmount; number; The total amount of MDF budget claims for reimbursement that are approved but not settled.
    • TotalPendingClaimAmount; number; The total amount of claims that are submitted or pending approval.
    • TotalPendingFundRequestAmount; number; The total amount of fund requests that are submitted or pending approval.
    • TotalRejectedClaimAmount; number; The total amount of claims for reimbursement that are rejected.
    • TotalRejectedFundRequestAmount; number; The total amount of fund requests that are rejected.
    • TotalUnclaimedFundRequestAmount; number; The total approved fund requests less the total approved claims.
  • The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : mdfBudgets
Type: object
Show Source
Nested Schema : Items
Type: array
Title: Items
The items in the collection.
Show Source
Nested Schema : mdfBudgets-item-response
Type: object
Show Source
Nested Schema : Attachments
Type: array
Title: Attachments
The attachments resource is used to view, create, and update attachments.
Show Source
Nested Schema : Budget Countries
Type: array
Title: Budget Countries
The budget countries resource is used to view, create, and update the list of partner countries to which budget can be allocated to.
Show Source
Nested Schema : Notes
Type: array
Title: Notes
The note resource is used to capture comments, information, or instructions for an MDF budget.
Show Source
Nested Schema : MDF Budget Teams
Type: array
Title: MDF Budget Teams
The MDF budget team resource is used to view, create, and update MDF budget team members. A budget team member is a resource who is assigned to the MDF budget team and who has the appropriate visibility and access to the MDF budget record.
Show Source
Nested Schema : Claims
Type: array
Title: Claims
The claim resource is used to view, create, and update a claim. A claim is a request for reimbursement of marketing expenses submitted by a partner.
Show Source
Nested Schema : Fund Requests
Type: array
Title: Fund Requests
The fund request resource is used view, create, and update fund requests. A fund request is a request for a portion of the budget to be allocated towards execution of certain marketing activities.
Show Source
Nested Schema : mdfBudgets-Attachments-item-response
Type: object
Show Source
Nested Schema : mdfBudgets-BudgetCountries-item-response
Type: object
Show Source
Nested Schema : mdfBudgets-BudgetNote-item-response
Type: object
Show Source
  • Title: Contact Relationship ID
    The unique identifier of the relationship when the note is associated with a MDF budget user.
  • Title: Corporate Currency Code
    Maximum Length: 15
    The corporate currency code of the note associated with the MDF budget A list of accepted values is defined in the lookup ZCA_COMMON_CORPORATE_CURRENCY Review and update the profile option using the Setup and Maintenance work area, Manage Trading Community Common Lookups task.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the note record.
  • Title: Creation Date
    Read Only: true
    The date and time when the note record was created.
  • Title: Creator Party ID
    The unique identifier of the party who created the note.
  • Title: Currency Conversion Rate Type
    Maximum Length: 30
    The currency conversion rate type associated with the note A list of accepted values is defined in the lookup ZCA_COMMON_RATE_TYPE Review and update the value for this attribute using the Setup and Maintenance work area, Manage Trading Community Common Lookups task.
  • Title: Currency
    Maximum Length: 15
    The currency code associated with the note A list of accepted values is defined in the lookup ZCA_COMMON_CORPORATE_CURRENCY Review and update the value for this attribute using the Setup and Maintenance work area, Manage Trading Community Common Lookups task.
  • Title: Delete Indicator
    Read Only: true
    Indicates whether the note is to be deleted If the value is Y, then the note has to be deleted The default value is N.
  • Title: Primary Email
    Read Only: true
    Maximum Length: 320
    The email address of the user who created the note.
  • Title: Primary Address
    Read Only: true
    The address of the user who created the note.
  • Title: Primary Phone
    Read Only: true
    The phone number of the user who created the note.
  • Title: Last Update Date
    Read Only: true
    The date and time when the note data was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The user who last updated the record.
  • Title: Last Update Login
    Read Only: true
    Maximum Length: 32
    The login of the user who last updated the record.
  • Links
  • Title: Note ID
    Read Only: true
    The unique identifier of the note associated with the MDF budget.
  • Maximum Length: 30
    The alternate unique identifier of the note. A user key that's system generated or from an external system.
  • Title: Title
    Maximum Length: 500
    The title of the note entered by the user.
  • Title: Note
    The actual note text.
  • Title: Type
    Maximum Length: 30
    The code to categorize notes.
  • Title: Parent Note ID
    The unique identifier of the parent note.
  • Title: Party ID
    Read Only: true
    The unique identifier of the MDF budget to which the note is associated.
  • Title: Author
    Read Only: true
    Maximum Length: 360
    The name of the party associated with the MDF budget.
  • Title: Related Object Type
    Maximum Length: 30
    The code of the source object as defined in OBJECTS metadata.
  • Title: Related Object
    Maximum Length: 64
    The unique identifier of the source object as defined in OBJECTS metadata.
  • Title: Update Indicator
    Read Only: true
    Indicates whether the note can be updated If the value is Y, then the note can be updated The default value is N.
  • Title: Private
    Maximum Length: 30
    Default Value: INTERNAL
    The visibility level of the note.
Nested Schema : mdfBudgets-BudgetTeam-item-response
Type: object
Show Source
Nested Schema : mdfBudgets-Claim-item-response
Type: object
Show Source
Nested Schema : mdfBudgets-FundRequest-item-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to get all mdf budgets by submitting a get request on the REST resource using cURL.

cURL Command

curl -u <username:password> \ -X https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/mdfBudgets

Example of Response Body

The following shows an example of the response body in JSON format.

{
    "items": [
        {
            "RecordSet": null,
            "BudgetId": 300100543257793,
            "BudgetName": "BudgetActive_64d02762383",
            "BudgetCode": "BudgetActive_64d02762383",
            "BudgetType": null,
            "CategoryCode": null,
            "CreatedBy": "CHANNEL_OPERATIONS_MANAGER",
            "CreationDate": "2021-06-17T04:06:13+00:00",
            "StatusCode": "ACTIVE",
            "CurrencyCode": "USD",
            "TotalAvailableBudgetAmount": 900000,
            "Description": null,
            "EndDate": null,
            "InitialBudgetAmount": 1000000,
            "LastUpdateDate": "2021-06-17T04:06:27.616+00:00",
            "LastUpdateLogin": "C4D7BB6A111A0941E0533CFDF40A0E6A",
            "LastUpdatedBy": "CHANNEL_OPERATIONS_MANAGER",
            "StartDate": "2021-06-17",
            "SubmitClaimsBy": "2021-06-24",
            "SubmitFundRequestBy": "2021-06-24",
            "StatusMeaning": "Active",
            "OwnerId": 100010038017885,
            "OwnerNameTrans": "Channel_OPS_Mgr_ENT1 COM",
            "CategoryCodeMeaning": null,
            "BudgetTypeMeaning": null,
            "PartnerId": null,
            "InactivationDate": null,
            "InactivatedBy": null,
            "ActivatedBy": "CHANNEL_OPERATIONS_MANAGER",
            "ActivationDate": "2021-06-17",
            "PartnerNameTrans": null,
            "TotalApprovedClaimAmount": 0,
            "TotalApprovedRequestAmount": 100000,
            "TotalBudgetAmount": 1000000,
            "TotalClaimAmount": 0,
            "TotalClaimSettledAmount": 0,
            "TotalOutstandingClaimLiabilityAmount": 0,
            "TotalRequestedAmount": 100000,
            "TotalUnclaimedFundRequestAmount": 100000,
            "TotalPendingFundRequestAmount": 0,
            "TotalRejectedClaimAmount": 0,
            "TotalRejectedFundRequestAmount": 0,
            "TotalPendingClaimAmount": 0,
            "NumberFundRequestPendingApproval": 0,
            "NumberClaimsPendingApproval": 0,
            "Country": null,
            "CreatedBy_FN": "Channel_OPS_Mgr_ENT1 COM",
            "LastUpdatedBy_FN": "Channel_OPS_Mgr_ENT1 COM",
            "ActivatedBy_FN": "Channel_OPS_Mgr_ENT1 COM",
            "ConversionCurrencyCode": "USD",
            "ConversionRateType": "Corporate",
            "ActivatedById": 100010038017885,
            "InactivatedById": null,
            "ConvExchangeRate": 1,
            "UpdateFlag": true,
            "DeleteFlag": false,
            "OwnerPartyNumber": "100010038017885",
            "PartnerCompanyNumber": null,
            "links": [
                {
                    "rel": "self",
                    "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/mdfBudgets/BudgetActive_64d02762383",
                    "name": "mdfBudgets",
                    "kind": "item",
                    "properties": {
                        "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
                    }
                },
                {
                    "rel": "canonical",
                    "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/mdfBudgets/BudgetActive_64d02762383",
                    "name": "mdfBudgets",
                    "kind": "item"
                },
                {
                    "rel": "lov",
                    "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/mdfBudgets/BudgetActive_64d02762383/lov/FndTerritoriesPVO1",
                    "name": "FndTerritoriesPVO1",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/mdfBudgets/BudgetActive_64d02762383/lov/BudgetCurrencyPVOVA",
                    "name": "BudgetCurrencyPVOVA",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/mdfBudgets/BudgetActive_64d02762383/lov/BudgetStatusLOVVA",
                    "name": "BudgetStatusLOVVA",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/mdfBudgets/BudgetActive_64d02762383/lov/ResourceVOVA",
                    "name": "ResourceVOVA",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/mdfBudgets/BudgetActive_64d02762383/lov/CategoryLOVVA",
                    "name": "CategoryLOVVA",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/mdfBudgets/BudgetActive_64d02762383/lov/PartnerPickerVA",
                    "name": "PartnerPickerVA",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/mdfBudgets/BudgetActive_64d02762383/lov/BudgetTypeLOVVA",
                    "name": "BudgetTypeLOVVA",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/mdfBudgets/BudgetActive_64d02762383/lov/RecordSetVA",
                    "name": "RecordSetVA",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/mdfBudgets/BudgetActive_64d02762383/child/Attachments",
                    "name": "Attachments",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/mdfBudgets/BudgetActive_64d02762383/child/BudgetCountries",
                    "name": "BudgetCountries",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/mdfBudgets/BudgetActive_64d02762383/child/BudgetNote",
                    "name": "BudgetNote",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/mdfBudgets/BudgetActive_64d02762383/child/BudgetTeam",
                    "name": "BudgetTeam",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/mdfBudgets/BudgetActive_64d02762383/child/Claim",
                    "name": "Claim",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/mdfBudgets/BudgetActive_64d02762383/child/FundRequest",
                    "name": "FundRequest",
                    "kind": "collection"
                }
            ]
        },
  .....
    ],
    "count": 25,
    "hasMore": true,
    "limit": 25,
    "offset": 0,
    "links": [
        {
            "rel": "self",
            "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/mdfBudgets",
            "name": "mdfBudgets",
            "kind": "collection"
        }
    ]
}
Back to Top