You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
spending_plan_guid ='SPL-e5f9a5bd-c5b3-4901-bdc0-62119b9db262'# str | The unique ID for the `spending_plan`.
142
142
user_guid ='USR-fa7537f3-48aa-a683-a02a-b18940482f54'# str | The unique id for a `user`.
143
-
spending_plan_iteration_item_create_request_body = mx_platform_python.SpendingPlanIterationItemCreateRequestBody() # SpendingPlanIterationItemCreateRequestBody | Iteration item to be created with required parameters (planned_amount)
143
+
spending_plan_iteration_item_create_request_body = mx_platform_python.SpendingPlanIterationItemCreateRequestBody() # SpendingPlanIterationItemCreateRequestBody | Iteration item to be created with required parameter (planned_amount)
144
144
145
145
try:
146
146
# Create spending plan iteration item
@@ -159,7 +159,7 @@ Name | Type | Description | Notes
**spending_plan_guid** | **str**| The unique ID for the `spending_plan`. |
161
161
**user_guid** | **str**| The unique id for a `user`. |
162
-
**spending_plan_iteration_item_create_request_body** | [**SpendingPlanIterationItemCreateRequestBody**](SpendingPlanIterationItemCreateRequestBody.md)| Iteration item to be created with required parameters (planned_amount) |
162
+
**spending_plan_iteration_item_create_request_body** | [**SpendingPlanIterationItemCreateRequestBody**](SpendingPlanIterationItemCreateRequestBody.md)| Iteration item to be created with required parameter (planned_amount) |
163
163
164
164
### Return type
165
165
@@ -1135,7 +1135,7 @@ with mx_platform_python.ApiClient(configuration) as api_client:
1135
1135
user_guid ='USR-fa7537f3-48aa-a683-a02a-b18940482f54'# str | The unique id for a `user`.
1136
1136
spending_plan_guid ='SPL-e5f9a5bd-c5b3-4901-bdc0-62119b9db262'# str | The unique ID for the `spending_plan`.
1137
1137
iteration_item_guid ='SII-a4dc1549-da28-1245-9c9c-53eee4cdfbe3'# str | The unique ID for the `iteration_item`.
1138
-
spending_plan_iteration_item_create_request_body = mx_platform_python.SpendingPlanIterationItemCreateRequestBody() # SpendingPlanIterationItemCreateRequestBody | Iteration item object to be updated with required parameter (iteration_item_guid)
1138
+
spending_plan_iteration_item_create_request_body = mx_platform_python.SpendingPlanIterationItemCreateRequestBody() # SpendingPlanIterationItemCreateRequestBody | Iteration item to be updated with required parameter (planned_amount)
1139
1139
1140
1140
try:
1141
1141
# Update a spending plan iteration item
@@ -1155,7 +1155,7 @@ Name | Type | Description | Notes
1155
1155
**user_guid** | **str**| The unique id for a `user`. |
1156
1156
**spending_plan_guid** | **str**| The unique ID for the `spending_plan`. |
1157
1157
**iteration_item_guid** | **str**| The unique ID for the `iteration_item`. |
1158
-
**spending_plan_iteration_item_create_request_body** | [**SpendingPlanIterationItemCreateRequestBody**](SpendingPlanIterationItemCreateRequestBody.md)| Iteration item object to be updated with required parameter (iteration_item_guid) |
1158
+
**spending_plan_iteration_item_create_request_body** | [**SpendingPlanIterationItemCreateRequestBody**](SpendingPlanIterationItemCreateRequestBody.md)| Iteration item to be updated with required parameter (planned_amount) |
Copy file name to clipboardExpand all lines: mx_platform_python/api/spending_plan_api.py
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -194,7 +194,7 @@ def create_spending_plan_with_http_info(self, user_guid : Annotated[StrictStr, F
194
194
_request_auth=_params.get('_request_auth'))
195
195
196
196
@validate_arguments
197
-
defcreate_spending_plan_iteration_item(self, spending_plan_guid : Annotated[StrictStr, Field(..., description="The unique ID for the `spending_plan`.")], user_guid : Annotated[StrictStr, Field(..., description="The unique id for a `user`.")], spending_plan_iteration_item_create_request_body : Annotated[SpendingPlanIterationItemCreateRequestBody, Field(..., description="Iteration item to be created with required parameters (planned_amount)")], **kwargs) ->SpendingPlanIterationItemResponse: # noqa: E501
197
+
defcreate_spending_plan_iteration_item(self, spending_plan_guid : Annotated[StrictStr, Field(..., description="The unique ID for the `spending_plan`.")], user_guid : Annotated[StrictStr, Field(..., description="The unique id for a `user`.")], spending_plan_iteration_item_create_request_body : Annotated[SpendingPlanIterationItemCreateRequestBody, Field(..., description="Iteration item to be created with required parameter (planned_amount)")], **kwargs) ->SpendingPlanIterationItemResponse: # noqa: E501
198
198
"""Create spending plan iteration item # noqa: E501
199
199
200
200
This endpoint creates a new `spending_plan_iteration_item`. # noqa: E501
defcreate_spending_plan_iteration_item_with_http_info(self, spending_plan_guid : Annotated[StrictStr, Field(..., description="The unique ID for the `spending_plan`.")], user_guid : Annotated[StrictStr, Field(..., description="The unique id for a `user`.")], spending_plan_iteration_item_create_request_body : Annotated[SpendingPlanIterationItemCreateRequestBody, Field(..., description="Iteration item to be created with required parameters (planned_amount)")], **kwargs) ->ApiResponse: # noqa: E501
231
+
defcreate_spending_plan_iteration_item_with_http_info(self, spending_plan_guid : Annotated[StrictStr, Field(..., description="The unique ID for the `spending_plan`.")], user_guid : Annotated[StrictStr, Field(..., description="The unique id for a `user`.")], spending_plan_iteration_item_create_request_body : Annotated[SpendingPlanIterationItemCreateRequestBody, Field(..., description="Iteration item to be created with required parameter (planned_amount)")], **kwargs) ->ApiResponse: # noqa: E501
232
232
"""Create spending plan iteration item # noqa: E501
233
233
234
234
This endpoint creates a new `spending_plan_iteration_item`. # noqa: E501
defupdate_spending_plan_iteration_item(self, user_guid : Annotated[StrictStr, Field(..., description="The unique id for a `user`.")], spending_plan_guid : Annotated[StrictStr, Field(..., description="The unique ID for the `spending_plan`.")], iteration_item_guid : Annotated[StrictStr, Field(..., description="The unique ID for the `iteration_item`.")], spending_plan_iteration_item_create_request_body : Annotated[SpendingPlanIterationItemCreateRequestBody, Field(..., description="Iteration item object to be updated with required parameter (iteration_item_guid)")], **kwargs) ->SpendingPlanIterationItemResponse: # noqa: E501
2130
+
defupdate_spending_plan_iteration_item(self, user_guid : Annotated[StrictStr, Field(..., description="The unique id for a `user`.")], spending_plan_guid : Annotated[StrictStr, Field(..., description="The unique ID for the `spending_plan`.")], iteration_item_guid : Annotated[StrictStr, Field(..., description="The unique ID for the `iteration_item`.")], spending_plan_iteration_item_create_request_body : Annotated[SpendingPlanIterationItemCreateRequestBody, Field(..., description="Iteration item to be updated with required parameter (planned_amount)")], **kwargs) ->SpendingPlanIterationItemResponse: # noqa: E501
2131
2131
"""Update a spending plan iteration item # noqa: E501
2132
2132
2133
2133
Use this endpoint to update an existing `spending_plan_iteration_item`. # noqa: E501
@@ -2143,7 +2143,7 @@ def update_spending_plan_iteration_item(self, user_guid : Annotated[StrictStr, F
2143
2143
:type spending_plan_guid: str
2144
2144
:param iteration_item_guid: The unique ID for the `iteration_item`. (required)
2145
2145
:type iteration_item_guid: str
2146
-
:param spending_plan_iteration_item_create_request_body: Iteration item object to be updated with required parameter (iteration_item_guid) (required)
2146
+
:param spending_plan_iteration_item_create_request_body: Iteration item to be updated with required parameter (planned_amount) (required)
defupdate_spending_plan_iteration_item_with_http_info(self, user_guid : Annotated[StrictStr, Field(..., description="The unique id for a `user`.")], spending_plan_guid : Annotated[StrictStr, Field(..., description="The unique ID for the `spending_plan`.")], iteration_item_guid : Annotated[StrictStr, Field(..., description="The unique ID for the `iteration_item`.")], spending_plan_iteration_item_create_request_body : Annotated[SpendingPlanIterationItemCreateRequestBody, Field(..., description="Iteration item object to be updated with required parameter (iteration_item_guid)")], **kwargs) ->ApiResponse: # noqa: E501
2166
+
defupdate_spending_plan_iteration_item_with_http_info(self, user_guid : Annotated[StrictStr, Field(..., description="The unique id for a `user`.")], spending_plan_guid : Annotated[StrictStr, Field(..., description="The unique ID for the `spending_plan`.")], iteration_item_guid : Annotated[StrictStr, Field(..., description="The unique ID for the `iteration_item`.")], spending_plan_iteration_item_create_request_body : Annotated[SpendingPlanIterationItemCreateRequestBody, Field(..., description="Iteration item to be updated with required parameter (planned_amount)")], **kwargs) ->ApiResponse: # noqa: E501
2167
2167
"""Update a spending plan iteration item # noqa: E501
2168
2168
2169
2169
Use this endpoint to update an existing `spending_plan_iteration_item`. # noqa: E501
0 commit comments