SupplierConnect Gateway API

<back to all web services

GetRequestActivity

Retrieves a list of activities of SupplierConnect schedule(s) for a given time window. 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/activity
GET/api/activity/{lastrowversion}
GetRequestActivity Parameters:
NameParameterData TypeRequiredDescription
LastRowVersionpathstringYesRow version of the last/latest record processed/returned in the previous request
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 .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.

GET /api/activity HTTP/1.1 
Host: production-eros-gateway-api-supplierconnect.azurewebsites.net 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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"}