Bridge

<back to all web services

EnquiryForwardPost

Enquiries
The following routes are available for this service:
POST/Enquiries/Forward
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class EnquiryForwardPost
    {
        public Integer EnquiryId = null;
        public Integer AccountId = null;
        public ArrayList<String> SelectedEntityContactIds = null;
        
        public Integer getEnquiryId() { return EnquiryId; }
        public EnquiryForwardPost setEnquiryId(Integer value) { this.EnquiryId = value; return this; }
        public Integer getAccountId() { return AccountId; }
        public EnquiryForwardPost setAccountId(Integer value) { this.AccountId = value; return this; }
        public ArrayList<String> getSelectedEntityContactIds() { return SelectedEntityContactIds; }
        public EnquiryForwardPost setSelectedEntityContactIds(ArrayList<String> value) { this.SelectedEntityContactIds = value; return this; }
    }

    public static class APIForwardEnquiryResultViewModel
    {
        public String Result = null;
        public ArrayList<APIForwardEnquiryResultErrorsViewModel> APIForwardEnquiryResultErrors = null;
        
        public String getResult() { return Result; }
        public APIForwardEnquiryResultViewModel setResult(String value) { this.Result = value; return this; }
        public ArrayList<APIForwardEnquiryResultErrorsViewModel> getApiForwardEnquiryResultErrors() { return APIForwardEnquiryResultErrors; }
        public APIForwardEnquiryResultViewModel setApiForwardEnquiryResultErrors(ArrayList<APIForwardEnquiryResultErrorsViewModel> value) { this.APIForwardEnquiryResultErrors = value; return this; }
    }

    public static class APIForwardEnquiryResultErrorsViewModel
    {
        public String Error = null;
        
        public String getError() { return Error; }
        public APIForwardEnquiryResultErrorsViewModel setError(String value) { this.Error = value; return this; }
    }

}

Java EnquiryForwardPost DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Enquiries/Forward HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"EnquiryId":0,"AccountId":0,"SelectedEntityContactIds":["String"]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Result":"String","APIForwardEnquiryResultErrors":[{"Error":"String"}]}