Operation-specific types
Read models and create and update builders follow the fields each TMF operation accepts.
TM Forum Open API v5 · Rust
Model resources, call partner APIs and serve TM Forum endpoints in Rust. Enable the domain models and clients your application needs.
cargo add rutmfDomain models only — no HTTP, no TLS stack.use rutmf::api::tmf620::ProductCatalogClient;
use rutmf::core::Timestamp;
use rutmf::product::ProductOfferingCreate;
let client = ProductCatalogClient::new(
"https://mycsp.com/tmf-api/productCatalogManagement/v5",
transport,
)?;
// `name`, `lifecycle_status` and `last_update` are required on create.
// Leaving one out does not compile.
let offering = client.create_product_offering(
&ProductOfferingCreate::builder()
.name("Business Internet")
.lifecycle_status("Active")
.last_update(Timestamp::now())
.build(),
).await?;Read models and create and update builders follow the fields each TMF operation accepts.
Vendor extensions retain their order, timestamps keep their UTC offset, and omitted type discriminators stay absent.
A Ref<ProductOffering> resolves to a product offering through its client.
Use an ETag with If-Match to detect concurrent edits. A stale write returns HTTP 412.
Read invoices and credits as decimals and emit exact JSON numbers, including amounts above the binary floating-point precision limit.
Use reqwest with OAuth2 or supply a transport. Read TMF630 errors and RFC 9457 problem details directly from the client error.
Connect a resource store to TMF630 routing, filtering, paging, JSON Patch and hub notifications.
Each one is implemented end to end — domain types, client, test server, conformance fixtures and schema coverage.
| API | Version | Resources |
|---|---|---|
| TMF620 Product Catalog Management | v5.0.0 | ProductOffering, ProductSpecification, ProductOfferingPrice, ProductCatalog, Category, ImportJob, ExportJob |
| TMF621 Trouble Ticket | v5.0.1 | TroubleTicket, TroubleTicketSpecification |
| TMF622 Product Ordering | v5.0.0 | ProductOrder, CancelProductOrder |
| TMF629 Customer Management | v5.0.1 | Customer |
| TMF632 Party Management | v5.0.0 | Individual, Organization |
| TMF669 Party Role Management | v5.0.0 | PartyRole (supplier, consumer, producer, business partner), PartyRoleSpecification |
| TMF634 Resource Catalog Management | v5.0.0 | ResourceCatalog, ResourceCategory, ResourceCandidate, ResourceSpecification, ImportJob, ExportJob |
| TMF642 Alarm Management | v5.0.1 | Alarm, AckAlarm, UnAckAlarm, ClearAlarm, CommentAlarm, GroupAlarm, UnGroupAlarm |
| TMF666 Account Management | v5.0.0 | Account (billing, financial, party, settlement), BillFormat, BillPresentationMedia, BillingCycleSpecification |
| TMF635 Product Usage Management | v5.0.0 | ProductUsage (rated usage, prices on the record), ExportJob |
| TMF678 Customer Bill | v5.0.0 | CustomerBill, CustomerBillOnDemand, AppliedCustomerBillingRate, BillCycle |
| TMF637 Product Inventory Management | v5.0.0 | Product |
| TMF679 Product Offering Qualification | v5.0.0 | CheckProductOfferingQualification, QueryProductOfferingQualification |
| TMF638 Service Inventory Management | v5.0.0 | Service |
| TMF639 Resource Inventory Management | v5.0.0 | Resource (four subclasses), ResourceGraph |
TMF641 Service Ordering and TMF688 Event Management are deliberately absent — neither has a v5 release, and this crate models v5 rather than pretending otherwise.