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"
}
...
Retrieving organization failed
RetrievingOrganizationFailed = 611001Organization Id is not valid
InvalidOrganization = 611002
...
Notices Controller (
...
612000-
...
RetrievingAllPermissionsFailed = 613001
Retrieving all permissions failed
RetrievingUserByPermissionsFailed = 613002
...
612999)
At least one service must be provided.
Minimum1ServiceRequired = 612001Notice with a certain id is not found.
NoticeNotFound = 612002Unable to get all notices.
GetNoticesFailed = 612003Adding a new notice failed.
AddNoticeFailed = 612004Updating a notice failed.
UpdateNoticeFailed = 612005Delete notice failed.
DeleteNoticeFailed = 612006Notice object is null.
NoticeIsNull = 612007
Permissions Controller (612000-612999)
...