Creation via Dashboard:

Article efdPLAzd · source

Virtual Series can be created either from

  • Dashboard
  • API

Creation via Dashboard:

  • Go to Setup → Customer → Customer Management

  • Search the desired Customer → click on Virtual series icon on the right side menu, this redirects the user to the Virtual Series Allotment screen:

    image.png

  • User needs to chose the specific service type(s) that need to be configured for virtual series (this is typically related to the carrier's services and offerings):

    image.png

  • Fill in the other details- start & end no. of the series, count will be auto-fetched, item code to be given (mandatory) and click on ‘Add series’:

  • Once done, the page will show the notification as - series added successfully:

Creation via API:

Request Information

CategoryValue
MethodPOST
Url{baseurl}/api/client/integration/virtualseries/create

Headers

KeyValue
AuthorizationBasic <API KEY>
Content-Typeapplication/json

Add <API KEY> to authenticate. 
<API KEY> will be shared privately.

Input fields:

Key NameDescriptionData TypeRequired KeyRemarks
1client_codeClient CodestringOptional*"GL438"
2typeType of seriesstringOptionalAllowed values - ["physical", "virtual"]. If nothing is passed, defaults to “virtual”
3startSeries StartstringRequired"V10000051"
4endSeries EndstringRequired"V10000060"
5item_codeItem CodestringRequired"P7WJEJANkt"
6hub_codeHub CodestringOptional*"BF074"
7creator_hubCreator HubstringOptional“BLR”

*Either client_code or hub_code should be present in the request. If both are passed, priority is given to client_code

Response Codes:

Response CodeRemarks
200Successful request.
400There is some validation error in the overall request format. In this case, complete request is rejected.
401There is an authentication error.

Sample Payload:yl

{ "start": "V10000071", "end": "V10000080", "client_code": "SL1981", "item_code": "P7WJEJANkt" }

Sample Responses:

When no API key is provided

{ "error": { "message": "API key should be present", "statusCode": 401, "reason": "NO_API_KEY" } }

When insufficient/incorrect input is provided.

{ "error": { "message": "Either client code or hubCode should be present", "statusCode": 400, "reason": "CLIENT_HUB_CODE_NOT_PRESENT", "code": "WRONG_INPUT" } }

 When a series is created successfully

{ "status": "OK" }


Was this article helpful?