Direct Activation 1.1
API for direct activation of services from Tjänsteguiden connecting to an API server on the CO premises
FormatXML AuthLogin OriginStadsnät ConsumerTjänsteguiden
service_order
This can be used by the service providers via the direct activation console, in which case data for customer and order may not exist. The provider decides whether or not they want to submit the ID for their customer data in the field "xspcid". Use the "initiator" field to determine whether a customer is making the request or a service provider
Request
GET https://www.citynet.com/[api]
Attributes
- optional
Data format: integer
Example: 2938
ID for customer in XSP system, if available - optional
Data format: integer
Example: 12345
ID for the complete order, for accessing via API - optional
Data format: integer
Example: 123
ID for the customer, to fecth customer data via API - mandatory
Data format: string
Example: customer
Who is initiating the activation - mandatory
Data format: date
Example: 2011-02-30
Date for activation. If date is today, then it should be activated directly - mandatory
Data format: string
Example: 12
UID for the service - mandatory
Data format: string
Example: 123-456-ABC
UID for the socket
Example request
GET /[api]?method=service_order&xspcid=2938&order=12345&customer=123&origin=customer&date=2011-02-30&service_uid=12&socket=123-456-ABC
Response success: 200
HTTP/1.1 200
Content-Type: application/xml<service_order> <status>success</status> </service_order>