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"
}
...
ServiceRequestNotFound = 4041001
4041001 is a generic MTAPI status used in more than one controller. 4041001 is returned when an end-point expects a valid Service Request identifier, however the passed identifier cannot find any Service Request.FileAttachmentNotFound = 4041002
4041002 is a generic MTAPI status used in more than one controller. 4041002 is returned when an end-point expects a valid file attachment identifier, however the passed identifier cannot find any matching file attachment.ServiceRequestNotFound = 4041001, // not found errors starts with 404 followed by 4 digit code 1001, leaving an opportunity use sub status codes below 1000
UserNotFound = 4041003, // not found errors starts with 404 followed by 4 digit code
ServiceNotFound = 4041004, // not found errors starts with 404 followed by 4 digit code
ServiceSettingNotFound = 4041005
ServicePreferenceNotFound = 4041006
ClientServiceNotFound = 4041007
OrganizationNoFound = 4041008
ArtifactNoFound = 4041009
ServiceRequestIdNotFound = 4041010
DocumentNotFound = 4041011
MetadataStructureNotFound = 4041013
StructureColumnKeyNameNotFound = 4041014
Generic/Reusable Statuses - can be used in any controller (901000-902999)
...