Equipment Controller **************************************** * Getting a list of equipment type codes **************************************** GET api/Equipment/GetEquipmentTypeCodes Requires Bearer Token in header ********************************************** * Getting a list of available equipment Fields ********************************************** GET api/Equipment/GetEquipmentFields/{EquipmentTypeCode} Requires Bearer Token in header *************************************** * Getting a list of equipment on a line *************************************** GET api/Equipment/GetEquipmentLine/{FileType}/{NPA}/{NXX}/{Line} Requires Bearer Token in header If FileType is blank...pass - **************************** * Adding equipment to a line **************************** POST EquipmentItem to api/Equipment/AddEquipment Requires Bearer Token in header Descriptions are ignored RRN must be -1 EquipmentItem: { "RRN": -1, "Account": "", "Sub": "", "FileType": "", "NPA": "", "NXX": "", "Line": "", "ServiceOrderNumber": -1, "TypeCode": "", "TypeDescription": "", "Fields": [] } Fields in the EquipmentItem are a list of EquipmentItemField: { "DataField": "", "Description": "", "Value": "" } ****************************** * Updating equipment on a line ****************************** POST EquipmentItem to api/Equipment/UpdateEquipment Requires Bearer Token in header Descriptions are ignored RRN cannot be -1...and must be valid. EquipmentItem: { "RRN": -1, "Account": "", "Sub": "", "FileType": "", "NPA": "", "NXX": "", "Line": "", "ServiceOrderNumber": -1, "TypeCode": "", "TypeDescription": "", "Fields": [] } Fields in the EquipmentItem are a list of EquipmentItemField: { "DataField": "", "Description": "", "Value": "" } ******************************** * Removing equipment from a line ******************************** POST EquipmentItem to api/Equipment/RemoveEquipment Requires Bearer Token in header Descriptions are ignored RRN cannot be -1...and must be valid. EquipmentItem: { "RRN": -1, "Account": "", "Sub": "", "FileType": "", "NPA": "", "NXX": "", "Line": "", "ServiceOrderNumber": -1, "TypeCode": "", "TypeDescription": "", "Fields": [] } Fields in the EquipmentItem are a list of EquipmentItemField: { "DataField": "", "Description": "", "Value": "" }