SupplierConnect Gateway API

<back to all web services

ResendScheduleNotification

Resends the notification to supplier for a given SupplierConnect schedule by id. (This will return the same information returned on a create schedule request with only change being the communication id which will be the id of the new notification.)

Requires Authentication
The following routes are available for this service:
POST/api/schedules/{id}/resend
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;

public class dtos
{

    /**
    * Resends the notification to supplier for a given SupplierConnect schedule by id. (This will return the same information returned on a create schedule request with only change being the communication id which will be the id of the new notification.)
    */
    @Api(Description="Resends the notification to supplier for a given SupplierConnect schedule by id. (This will return the same information returned on a create schedule request with only change being the communication id which will be the id of the new notification.)")
    public static class ResendScheduleNotification
    {
        /**
        * Id of the schedule request to resend the notification for
        */
        @DataMember(Name="id")
        @SerializedName("id")
        @ApiMember(Description="Id of the schedule request to resend the notification for", IsRequired=true, Name="id")
        public UUID Id = null;
        
        public UUID getId() { return Id; }
        public ResendScheduleNotification setId(UUID value) { this.Id = value; return this; }
    }

    public static class ScheduleResponse
    {
        public UUID ReferenceId = null;
        public UUID CommunicationId = null;
        public Boolean Success = null;
        public String Message = null;
        public String Payload = null;
        
        public UUID getReferenceId() { return ReferenceId; }
        public ScheduleResponse setReferenceId(UUID value) { this.ReferenceId = value; return this; }
        public UUID getCommunicationId() { return CommunicationId; }
        public ScheduleResponse setCommunicationId(UUID value) { this.CommunicationId = value; return this; }
        public Boolean isSuccess() { return Success; }
        public ScheduleResponse setSuccess(Boolean value) { this.Success = value; return this; }
        public String getMessage() { return Message; }
        public ScheduleResponse setMessage(String value) { this.Message = value; return this; }
        public String getPayload() { return Payload; }
        public ScheduleResponse setPayload(String value) { this.Payload = value; return this; }
    }

}

Java ResendScheduleNotification DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /api/schedules/{id}/resend HTTP/1.1 
Host: production-eros-gateway-api-supplierconnect.azurewebsites.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Success":false,"Message":"String","Payload":"String"}