XC/IC Requests#
Live read/write proxy to Salesforce LOA__c records — the individual cross-connect/intra-connect request within an Opportunity, describing the physical Point A ↔ Point B connection to implement. Also includes a KIO Link–enriched connections listing that blends this data with local records.Concepts#
Always linked to an Opportunity: opportunity_id is required on create.
point_a / point_b: each is a full physical-connection spec — site, equipment, port, phase_or_room, rack_and_coordinate, wire_type, wire_category, wire_connector are all required within each point; account_id is optional.
account_id on points A/B is intentionally optional on create: clients don't have access to KIO Link's Salesforce customer list, so this is filled in later by the XC Lead via PATCH, who does have that access.
status defaults to Solicitada; wire_status defaults to Nueva XC.
search (on List XC/IC requests) matches the request's own code/folio, or its linked Opportunity's ID, name, or number.
List connections (GET /xc/salesforce/connections) is a separate, business-aware view: it enriches local KIO Link connection data with Salesforce request data, and supports filtering by account name on Point A, Point B, or the Opportunity. For business users, these filters (plus search) can only further restrict the rows they're already allowed to see (payer, or a match on Point A/Point B) — never expand visibility beyond that.
Endpoints#
GET /v1/xc/salesforce/requestsGET /v1/xc/salesforce/requests/{id}POST /v1/xc/salesforce/requestsPATCH /v1/xc/salesforce/requests/{id}GET /v1/xc/salesforce/connectionsAttachments#
See the Attachments subfolder for listing, uploading, and downloading LOA files.Source#
Router: routes/v1/xc/salesforce.router.js
Controllers: controllers/salesforce/requests.controller.js, controllers/salesforce/connections.controller.js
Services: services/salesforce/requests.service.js, services/salesforce/connections.service.js
Schemas: schemas/salesforce/request.schema.js, schemas/salesforce/connections.schema.js
Modified at 2026-09-25 18:33:55