Want to upload a file by calling a post web api in blue prism, with some metadata in model

rthakur35

New Member
here is my c# model that I need to pass as a request in WebAPI-

public class AddTaskRequest
{
public Guid AccountId { get; set; }
public Guid ProcessId { get; set; }
public string Description { get; set; }
public Int16 Priority { get; set; }
public int SLA { get; set; }
public ICollection<IFormFile> AttachmentFiles { get; set; }
}
Everytime I get empty values in parameters as call goes to my WebApi from blue prism, attaching my WebAPI and Parameters sceenshots.APIParam.pngAPIParam.png
 

srkjain

New Member
if i understand the problem statement then its you are calling webapi from blue prism with values but api receive all empty values and nothing gets passed from blueprim to web api end point.

You may try following
1) Check the method of web api it post or get ?
2) Did you configure any security for API (authentication/token etc)?
 
Top