public List <string> GetIdentifiers() { return(new List <string> { CustomerUid.ToString(), ProjectUid.ToString(), AssetUid.ToString() }); }
public IHeaderDictionary Headers() => new HeaderDictionary { { HeaderConstants.X_VISION_LINK_CUSTOMER_UID, CustomerUid.ToString() }, { HeaderConstants.AUTHORIZATION, AuthorizationHeader }, { HeaderConstants.X_JWT_ASSERTION, JWTAssertion } };
public string CallSchedulerWebApi(string routeSuffix, string method, string body = null, HttpStatusCode expectedCode = HttpStatusCode.OK) { var uri = GetBaseUri() + routeSuffix; var restClient = new RestClientUtil(); var response = restClient.DoHttpRequest(uri, method, body, expectedCode, "application/json", CustomerUid.ToString()); return(response); }