Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status codes provide extra information when a request is made to the MTAPI. The response code will be provided when a request has been successfully completed.

...

Response Headers
{
"cache-control": "no-cache",
"content-length": "123",
"content-type": "application/json; charset=utf-8",
"date": "Tue, 20 Apr 2021 11:28:03 GMT",
"expires": "-1",
"mtapistatus": "-1",
"pragma": "no-cache",
"server": "Microsoft-IIS/8.5",
"x-aspnet-version": "4.0.30319",
"x-powered-by": "ASP.NET"
}

...

  • RetrievingServiceRequestFailed = 617001
    Retrieving service request has failed.

  • RetrievingServiceRequestsByServicesFailed = 617002
    Retrieving service requests by services has failed.

  • RetrievingServiceRequestStatusesFailed = 617003
    Retrieving service request statuses has failed.

  • RetrievingServiceRequestStatusHistoryFailed = 617004
    Retrieving service request status history has failed.

  • RetrievingServiceArtifactsFailed = 617005
    Retrieving service request artifacts has failed.

  • AddServiceRequestFailed = 617006
    Add service request has failed.

  • ServiceRequestsQueryFailed = 617007
    Service request query has failed.

  • UpdateServiceRequestFailed = 617008
    Service Request couldn't be updated.

  • ServiceRequestsByServiceFailed = 617009
    Retrieving service requests by service has failed.

  • UpdateServiceRequestStatusFailed = 617010
    Service Request status couldn't be updated.

  • DeleteServiceRequestFailed = 617011
    Service Request couldn't be deleted.

  • InitiateTransferFailed = 617012
    Service Request couldn't be initiated.

  • CompleteTransferFailed = 617013
    Service Request couldn't be completed.

  • FileAttachmentByServiceRequestFailed = 617014
    Retrieving file attachment by service request has failed.

  • NoRequesterId = 617015
    Retrieving file attachment by service request has failed.

  • NoRequesterDetails = 617016
    Retrieving file attachment by service request has failed.

  • RetrievingUserAssignmentsFailed = 617017
    Retrieving user assignments has failed.

  • RetrievingStatusHistoryExFailed = 617018
    Retrieving extended status history has failed.

  • RetrievingStatusHistoryExByGuidFailed = 617019
    Retrieving extended status history by guid has failed.

  • UpdateDateCannotBeInFuture = 617020
    Update date cannot be in future.

  • ServiceRequestStatusLogNotFound = 617021
    Service Request status log not Found.

  • UpdateDateShouldBeAfterPreviousDate = 617022
    The update date should be greater than the previous date.

  • UpdateDateShouldBeBeforeNewerDate = 617023
    The update date should be less than the newer date.

  • UpdateDateShouldBeAfterPreviousDateAndBeforeNewerDate = 617024
    The update date should be greater than the previous date and less than the newer date.

  • UpdateStatusHistoryFailed = 617025
    Service Request Status couldn't be updated.

  • UserAssignmentExists = 617026
    User Assignment already exist.

  • AddUserAssignmentFailed = 617027
    User Assignments couldn't be added.

  • RemoveUserAssignmentFailed = 617028
    User Assignments couldn't be removed.

  • InvalidServiceStandard = 617029
    ServiceStandardId is not valid for the service.

Services Controller (

...

618000-

...

Note: Not implemented yet.

  • InvalidServiceRequestId = 607000

  • CannotAssociateInternUserToOrg = 617001

  • InvalidReturnUrl = 617003

  • InvalidOrgId = 617004

  • CompleteInviteFailed = 617005

  • GetInvitesFailed = 617006

  • GetUsersFailed = 617007

  • AddPermissionFailed = 617008

  • UpdatePermissionFailed = 617009

  • DeletePermissionFailed = 617010

...

618999)

  • InvalidDatetime = 618001

future deactivation dateTime should be greater than the current dateTime

  • EnrollmentDeactivationFailed = 618002

Enrollment deactivation fails

  • RetrievingServiceInformationFailed = 618004

Retrieving service information failed

  • RetrievingActivitiesFailed = 618005

Retrieving activities failed

  • EnrollUserInServiceFailed = 618006

Enroll User In Service Failed

  • WithdrawUserFromServiceFailed = 618007

Withdraw User from a service Failed

  • ActivateUserInServiceFailed = 618008

Activate User in a Service Failed

  • DeactivateUserFromServiceFailed = 618009

Deactivate User from a Service Failed

  • InvalidReturnUrl = 618010

Return url Failed

  • InitiateInviteFailed = 618011

Initiate invite Failed

  • CompleteInviteWithInvalidArgumentFailed = 618012

Complete invite with invalid argument Failed

  • InviteWithInternalUserFailed = 618013

Invite with internal user failed

  • RetrievingUserFailed = 618014

Retrieving user failed

  • RetrievingNoticesByServiceFailed = 618015

Retrieving notices by service failed

  • RetrievingServicePermissionFailed = 618016

Retrieving service permissions failed

  • AddingServicePermissionFailed = 618017

Adding service permission failed

  • UpdateServicePermissionFailed = 618018

Update service permission failed

  • DeleteServicePermissionFailed = 618019

Delete service permissions failed

  • RetrievingServiceRegulatedEntityFailed = 618020

Retrieve the list of service regulated entities failed

  • RetrievingServiceCatalogFailed = 618021

Retrieving all services failed

Service Settings Controller (619000-619999)

  •  

Users Controller (

...

620000-

...

620999)

Note: Not implemented yet.

  • InvalidUserId = 619000620000

  • InvalidUserType = 619001620001

Virus Scan Controller (

...

621000-

...

621999)