Closed CoderWeiAden closed 2 months ago
Hi @CoderWeiAden , it does appear that once set, the endDate
cannot be changed to null
. I've added a note to that field in the specification for portfolios.
Two possible workarounds for your issue:
endDate
, so setting it to, for instance, "30240101"
would result in there being no end date in a practical sense.The budget
field itself can be set to null
. You could send two consecutive PUT
requests to create the budget anew with no endDate
. First:
[{
"portfolioId":68205574673785,
"budget": null
}]
And then:
[{
"portfolioId":68205574673785,
"budget": {
"amount":12,
"currencyCode":"USD",
"policy":"dateRange",
"startDate":"20240618"
}
}]
Let us know if this solves your problem!
@jerirose Thank you for your reply, but I have tried the method you mentioned and it still doesn't work. I sincerely hope that you can provide support in this area in the future,Also, thank you for updating the document
Describe the bug update portfolio of data_range to no endDate,i set the endDate is null,but the response tips me must be yyyyMMdd format,so how can i to update the portfolio is not endDate it is my req:
[{"portfolioId":68205574673785,"name":"TA1XD3-portfolio-aden,"budget":{"amount":12,"currencyCode":"USD","policy":"dateRange","startDate":"20240618","endDate":null},"inBudget":null,