SupplierConnect Gateway API

<back to all web services

GetSchedules

Retrieve SupplierConnect schedule(s) by given ids. This will return SupplierConnect schedule request(s), and the associated other details such as statuses

Requires Authentication
The following routes are available for this service:
GET/api/schedules
GET/api/schedules/{Ids}
GetSchedules Parameters:
NameParameterData TypeRequiredDescription
IdspathList<Guid>YesId or list of Ids of the schedule request(s) to be retrieved
GetSchedulesResponse Parameters:
NameParameterData TypeRequiredDescription
SuccessformboolNo
MessageformstringNo
ScheduleRequestsformList<ScheduleDetails>No
ResponseStatusformResponseStatusNo
LastRowVersionformstringNo
ScheduleDetails Parameters:
NameParameterData TypeRequiredDescription
ReferenceIdformGuidNo
IndexformintNo
StatusIdformGuidNo
StatusformstringNo
StatusMessageformstringNo
RequestedByformstringNo
RequestedDateformDateTime?No
CommunicationIdformGuidNo
SupplierConnectSchedule Parameters:
NameParameterData TypeRequiredDescription
RequestIdformGuidNo
PreviousRequestIdformGuidNo
LicenseeIdformGuidNo
LicenseeNameformstringNo
ScheduleDateTimeformDateTimeNo
RequesterformSupplierConnectContactInfoNo
SupplierformSupplierConnectContactInfoNo
ProjectformSupplierConnectProjectInfoNo
PurchaseOrderformSupplierConnectPurchaseOrderInfoNo
ActivityformSupplierConnectActivityReferenceNo
ParamsformList<SupplierConnectScheduleParams>No
AttachmentsformList<EmailAttachment>No
SupplierConnectContactInfo Parameters:
NameParameterData TypeRequiredDescription
IdformGuidNo
NameformstringNo
EmailformstringNo
PhoneformstringNo
ContactReferenceformSupplierConnectObjectReferenceNo
SupplierConnectObjectReference Parameters:
NameParameterData TypeRequiredDescription
RmsTableContextIdformGuidNo
AlternateKeyformstringNo
DataSourceInstanceIdformGuidNo
SupplierConnectProjectInfo Parameters:
NameParameterData TypeRequiredDescription
IdformGuidNo
NameformstringNo
ReferenceformstringNo
DescriptionformstringNo
AddressformstringNo
HouseTypeformstringNo
ElevationformstringNo
SupervisorformSupplierConnectContactInfoNo
CustomerNameformstringNo
ProjectReferenceformSupplierConnectObjectReferenceNo
SupplierConnectPurchaseOrderInfo Parameters:
NameParameterData TypeRequiredDescription
IdformGuidNo
ReferenceformstringNo
DescriptionformstringNo
ProjectIdformGuidNo
PurchaseOrderReferenceformSupplierConnectObjectReferenceNo
SupplierConnectActivityReference Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
NotesformstringNo
SupplierConnectScheduleParams Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
ValueformstringNo
EmailAttachment Parameters:
NameParameterData TypeRequiredDescription
FileNameformstringNo
ContentTypeformstringNo
PathformstringNo
UrlformstringNo
LengthformlongNo
StreamContentformstringNo
AttachmentTypeformAttachmentTypeNo
ProcessedAndUploadedAsBlobformboolNo

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

HTTP + CSV

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

GET /api/schedules HTTP/1.1 
Host: production-eros-gateway-api-supplierconnect.azurewebsites.net 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Success":false,"Message":"String","ScheduleRequests":[{"Index":0,"Status":"String","StatusMessage":"String","RequestedBy":"String","RequestedDate":"0001-01-01T00:00:00.0000000","LicenseeName":"String","ScheduleDateTime":"0001-01-01T00:00:00.0000000","Requester":{"Name":"String","Email":"String","Phone":"String","ContactReference":{"AlternateKey":"String"}},"Supplier":{"Name":"String","Email":"String","Phone":"String","ContactReference":{"AlternateKey":"String"}},"Project":{"Name":"String","Reference":"String","Description":"String","Address":"String","HouseType":"String","Elevation":"String","Supervisor":{"Name":"String","Email":"String","Phone":"String","ContactReference":{"AlternateKey":"String"}},"CustomerName":"String","ProjectReference":{"AlternateKey":"String"}},"PurchaseOrder":{"Reference":"String","Description":"String","PurchaseOrderReference":{"AlternateKey":"String"}},"Activity":{"Name":"String","Notes":"String"},"Params":[{"Name":"String","Value":"String"}],"Attachments":[{"FileName":"String","ContentType":"String","Path":"String","Url":"String","Length":0,"StreamContent":"String","AttachmentType":"Url","ProcessedAndUploadedAsBlob":false}]}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"LastRowVersion":"String"}