Adding a new project with Template, the end date does not reflect.
Hi,
Using the API {POST /portal/[PORTALID]/projects/} it all works perfectly. Once howevery a template ID is introduced, suddenly the end_date is not reflective in ZOHO projects. There are no errors returned and it works perfectly besides the end date not be visible.
This problem is only for the end_date parameter and not the start date.
Please see the attached code.
def new_project(
**kwargs):
''''''
headers = {
'Authorization': 'Zoho-oauthtoken '+access_token
}
portal_name = "XXXXXX"
url = f'https://projectsapi.zoho.com/restapi/portal/{portal_name}/projects/'
params = {
template_id = "TEST",
UDF_USER1 = "xxxx" ,
UDF_USER2 = "XXX",
UDF_USER3 = "XXX",
start_date = "04-01-2021",
UDF_CHAR1 = "XXX",
UDF_CHAR2 = "XXX",
end_date = "05-01-2021"
)
}
response = requests.post(url, params=params, headers=headers)
print(response.status_code)
if response is not None:
if response.status_code < 400:
return response.json()
else:
raise Exception(response)
else:
print("we got no response")
The above code was modified for this example. But its shows that the format is the same for both dates one month apart in MM-DD-YY .
Sticky Posts
Building extensions #10: Fetch customized user inputs, store them globally at the app level, and access them across entities
This data storage concept enables you to store data related to your extension for both entity properties and extension properties. In our previous piece, we looked at how to store data for entities using entity properties. In this post, we'll look at
Building extensions #9: Store, retrieve, and access entity-specific data in widgets using data storage
Data storage - Overview Storing data related to the extension you are working on is essential. It can be saved as key-value pairs for an entity or extension, known as entity and extension properties, respectively. Data can be saved for the following entities
Building extensions #7: Create custom widgets for a simplified end-user experience
Discover the benefits of using widgets! We explored the significance of widgets, prerequisites, and the availability of JS SDK methods as part of our previous post. In this post, let's go over a detailed example of using widgets along with certain Zoho
Building extensions #6: Custom user interfaces with Widgets
Welcome to our post on Widgets for Zoho Projects! In our last post, we explored the significance of the connections feature, showed how to use it, and provided an example use case. In this article, we'll look at the importance of widgets, another feature
Building extensions #5: Integrating applications with Zoho Projects through Connections
In our last post, we discussed the essential features that a Zoho Projects extension can provide. Starting with this post andin every subsequent post going forward, we'll go through each of those features in depth, one by one, with an example use case.