WAFGOPreparing your page
Setup guide

API documentation

DEVELOPER RESOURCES · API REFERENCE

Explore WAFGO API services, request paths and message definitions. Browse by permission role to find the parameters and response structures for your integration.

Download JSON documentation
151 services1063 interfaces
User DNS plan service7 matching interfaces

Create a user plan

createNSUserPlan

POST/NSUserPlanService/createNSUserPlan
Original definition
rpc createNSUserPlan(CreateNSUserPlanRequest) returns (CreateNSUserPlanResponse);

Request message

CreateNSUserPlanRequest

Create a user plan

Request message · Field definitions
message CreateNSUserPlanRequest {
	int64 userId = 1;
	int64 nsPlanId = 2;
	string dayFrom = 3; // YYYYMMDD
	string dayTo = 4; // YYYYMMDD
	string periodUnit = 5; // yearly|monthly
}

Response message

CreateNSUserPlanResponse
Response message · Field definitions
message CreateNSUserPlanResponse {
	int64 nsUserPlanId = 1;
}

Descriptions and comments follow your language. Request paths, method names, field names and types match the original API definitions.

Setup guide