/
Creating a Service Request with the cost-recovery API
Creating a Service Request with the cost-recovery API
[POST] /api/v2/servicerequests
JSON format:
{
"UserId": 0,
"ServiceId": 0,
"OrganizationId": 0,
"Status": "Unknown",
"EnglishDisplayName": "string",
"FrenchDisplayName": "string",
"MetadataStructureId": 0,
"ServiceAttributeId": 0,
"Comment": "string",
"RequesterId": 0,
"MailCoordinateId": 0,
"PlaceOfSupply": "string"
}
PlaceOfSupply needs to be a valid value: AB, BC, MB, NB, NL, NS, NT, NU, ON, PE, QC, SK, YT
Fields with an id of 0 need to be a valid integer, null, or removed from the POST
Example:
{
"UserId": 1234,
"ServiceId": 1,
"OrganizationId": null,
"Status": "Draft",
"EnglishDisplayName": "My Service Request",
"FrenchDisplayName": "Ma demande de service",
"MetadataStructureId": null,
"ServiceAttributeId": 321,
"Comment": "This is my first service request.",
"RequesterId": null,
"MailCoordinateId": null,
"PlaceOfSupply": "ON"
}
, multiple selections available,
Related content
Create, Read, Update, Submit of Service Requests Using API
Create, Read, Update, Submit of Service Requests Using API
More like this
Collecting submitted form data, and storing it in MTOA
Collecting submitted form data, and storing it in MTOA
Read with this
TMAPI
TMAPI
More like this
Create, Read, Update, Submit of Service Requests Using NUGET Packages
Create, Read, Update, Submit of Service Requests Using NUGET Packages
Read with this
EnrollUser()
EnrollUser()
More like this
Integration of .NET 4.X solution with the myTC Account Platform
Integration of .NET 4.X solution with the myTC Account Platform
Read with this