Skip to main content
POST
Create spending plan iteration item
This endpoint creates a new spending_plan_iteration_item.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

spending_plan_guid
string
required

The unique ID for the spending_plan.

user_guid
string
required

The unique identifier for a user, beginning with the prefix USR-.

Body

application/json

Iteration item to be created with required parameter (planned_amount)

planned_amount
number
required
Example:

110

category_guid
string
Example:

"CAT-40faf068-abb4-405c-8f6a-e883ed541fff"

item_type
number
Example:

1

scheduled_payment_guid
string
Example:

"SCP-c731988a-712f-4f83-9b3b-0aa5b3d5208b"

top_level_category_guid
string
Example:

"CAT-9588eaad-90a4-bb5c-66c8-1812503d0db8"

Response

200 - application/vnd.mx.api.v1+json

OK

actual_amount
number | null
Example:

345

category_guid
string | null
Example:

"CAT-40faf068-abb4-405c-8f6a-e883ed541fff"

created_at
string | null
Example:

"2016-10-13T18:08:00+00:00"

guid
string | null
Example:

"SPL-e5f9a5bd-c5b3-4901-bdc0-62119b9db262"

item_type
string | null
Example:

"1"

planned_amount
number | null
Example:

110

scheduled_payment_guid
string | null
Example:

"SCP-c731988a-712f-4f83-9b3b-0aa5b3d5208b"

spending_plan_iteration_guid
string | null
Example:

"SPI-848e6648-3fa3-4632-ac8f-e65f03167102"

top_level_category_guid
string | null
Example:

"CAT-9588eaad-90a4-bb5c-66c8-1812503d0db8"

transaction_guids
(string | null)[]
Example:

"TRN-265abee9-889b-af6a-c69b-25157db2bdd9"

updated_at
string | null
Example:

"2016-10-13T18:09:00+00:00"

user_guid
string | null
Example:

"USR-fa7537f3-48aa-a683-a02a-b18940482f54"