HTTP POST TO CREATE A NEW WORK ORDER IN MICROSOFT DYNAMICS 365 - FIELD SERVICE (EMPTY BODY) import requests url = "https://{{my-env_name}}.{{my_region}}.dynamics.com/api/data/v9.0/msdyn_workorders" payload = "{\n \n}" headers = { 'Accept': 'application/json', 'OData-MaxVersion': '4.0', 'OData-Version': '4.0', 'If-None-Match': 'null', 'Authorization': 'Bearer eyXXX', 'Content-Type': 'application/json', } response = requests.request("POST", url, headers=headers, data = [...] read more
I try to upload new Account with the data import wizard via a csv file, the only column is the Account Name. I always received the error code 0x80040265 with no log on the server. I do the same thing for Contact with more columns and it works without errors. [...] read more
I need to get the duration of an mp4 file, preferably as a double in seconds. I was using DirectShow (see code below), but it keeps throwing a particularly unhelpful error. I'm wondering if someone has an easy solution to this. (Seriously, who knew that getting that information would be [...] read more
I need to write a program that can play .ogg Vorbis file with the help of IGraphBuilder or any other windows API directly (in C++/win32 API)? I tried with IGraphBuilder but that is not working for me. Sample code: IMediaControl *pControl = NULL; IGraphBuilder *pGraph= NULL; IMediaEventEx *pEvent= NULL; IMediaPosition [...] read more