result=awaitGetResponseAsObjectAsync<RemoteServiceErrorResponse>("/api/validation-test/object-result-action-dynamic-length?value1=12345678",HttpStatusCode.BadRequest);//value1 has max string length of 7 chars.
result=awaitGetResponseAsObjectAsync<RemoteServiceErrorResponse>("/api/validation-test/object-result-action-dynamic-length?value1=123458&value2=12345",HttpStatusCode.BadRequest);//value2 has max length of 5 chars.
result=awaitGetResponseAsObjectAsync<RemoteServiceErrorResponse>("/api/validation-test/object-result-action-dynamic-length?value1=123458&value3[0]=53&value3[1]=54&value3[2]=55&value3[3]=56",HttpStatusCode.BadRequest);//value3 has max length of 2.