Accountinfo
This class will define the view behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
ASSET- AssetsIPDISCOVER- IPDiscover
TEXT- TextTEXTAREA- TextareaSELECT- SelectCHECKBOX- Checkbox
Number of results to return per page.
The initial index from which to return the results.
Which field to use when ordering the results.
A search term.
123http://api.example.org/accounts/?offset=400&limit=100http://api.example.org/accounts/?offset=200&limit=100GET /accountinfo/config/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 123,
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100",
"results": [
{
"id": 1,
"name": "text",
"description": "text",
"datatype": "TEXT",
"datatarget": "ASSET",
"accountinfo_values": [
1
]
}
]
}Handle post request, suitable for single and multi creation
Args: request ([dict]): can be dict or list of dicts
Returns: [type]: [description]
Token-based authentication with required prefix "Token"
This serialize class provide the API representation
TEXT- TextTEXTAREA- TextareaSELECT- SelectCHECKBOX- Checkbox
ASSET- AssetsIPDISCOVER- IPDiscover
This serialize class provide the API representation
TEXT- TextTEXTAREA- TextareaSELECT- SelectCHECKBOX- Checkbox
ASSET- AssetsIPDISCOVER- IPDiscover
POST /accountinfo/config/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 75
"name='text'&description='text'&datatype='TEXT'&datatarget='ASSET'"{
"id": 1,
"name": "text",
"description": "text",
"datatype": "TEXT",
"datatarget": "ASSET",
"accountinfo_values": [
1
]
}This class will define the view behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this accountinfo config.
This serialize class provide the API representation
TEXT- TextTEXTAREA- TextareaSELECT- SelectCHECKBOX- Checkbox
ASSET- AssetsIPDISCOVER- IPDiscover
GET /accountinfo/config/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"id": 1,
"name": "text",
"description": "text",
"datatype": "TEXT",
"datatarget": "ASSET",
"accountinfo_values": [
1
]
}This class will define the view behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this accountinfo config.
This serialize class provide the API representation
TEXT- TextTEXTAREA- TextareaSELECT- SelectCHECKBOX- Checkbox
ASSET- AssetsIPDISCOVER- IPDiscover
This serialize class provide the API representation
TEXT- TextTEXTAREA- TextareaSELECT- SelectCHECKBOX- Checkbox
ASSET- AssetsIPDISCOVER- IPDiscover
PUT /accountinfo/config/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 75
"name='text'&description='text'&datatype='TEXT'&datatarget='ASSET'"{
"id": 1,
"name": "text",
"description": "text",
"datatype": "TEXT",
"datatarget": "ASSET",
"accountinfo_values": [
1
]
}This class will define the view behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this accountinfo config.
No response body
No content
DELETE /accountinfo/config/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
No response body
No content
This class will define the view behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this accountinfo config.
This serialize class provide the API representation
TEXT- TextTEXTAREA- TextareaSELECT- SelectCHECKBOX- Checkbox
ASSET- AssetsIPDISCOVER- IPDiscover
This serialize class provide the API representation
TEXT- TextTEXTAREA- TextareaSELECT- SelectCHECKBOX- Checkbox
ASSET- AssetsIPDISCOVER- IPDiscover
PATCH /accountinfo/config/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 75
"name='text'&description='text'&datatype='TEXT'&datatarget='ASSET'"{
"id": 1,
"name": "text",
"description": "text",
"datatype": "TEXT",
"datatarget": "ASSET",
"accountinfo_values": [
1
]
}This class will define the view behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
Number of results to return per page.
The initial index from which to return the results.
Which field to use when ordering the results.
A search term.
123http://api.example.org/accounts/?offset=400&limit=100http://api.example.org/accounts/?offset=200&limit=100GET /accountinfo/data/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 123,
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100",
"results": [
{
"id": 1,
"accountdata": null,
"object_slug": "text",
"content_type": 1,
"object_id": 1
}
]
}Handle post request, suitable for single and multi creation
Args: request ([dict]): can be dict or list of dicts
Returns: [type]: [description]
Token-based authentication with required prefix "Token"
This serialize class provide the API representation
This serialize class provide the API representation
POST /accountinfo/data/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 55
"accountdata=null&object_slug='text'&object_id=1"{
"id": 1,
"accountdata": null,
"object_slug": "text",
"content_type": 1,
"object_id": 1
}This class will define the view behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this accountinfo data.
This serialize class provide the API representation
GET /accountinfo/data/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"id": 1,
"accountdata": null,
"object_slug": "text",
"content_type": 1,
"object_id": 1
}This class will define the view behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this accountinfo data.
This serialize class provide the API representation
This serialize class provide the API representation
PUT /accountinfo/data/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 55
"accountdata=null&object_slug='text'&object_id=1"{
"id": 1,
"accountdata": null,
"object_slug": "text",
"content_type": 1,
"object_id": 1
}This class will define the view behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this accountinfo data.
No response body
No content
DELETE /accountinfo/data/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
No response body
No content
This class will define the view behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this accountinfo data.
This serialize class provide the API representation
This serialize class provide the API representation
PATCH /accountinfo/data/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 55
"accountdata=null&object_slug='text'&object_id=1"{
"id": 1,
"accountdata": null,
"object_slug": "text",
"content_type": 1,
"object_id": 1
}This class will define the view behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
Number of results to return per page.
The initial index from which to return the results.
Which field to use when ordering the results.
A search term.
123http://api.example.org/accounts/?offset=400&limit=100http://api.example.org/accounts/?offset=200&limit=100GET /accountinfo/value/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 123,
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100",
"results": [
{
"id": 1,
"accountinfo_config": 1,
"value": "text"
}
]
}Handle post request, suitable for single and multi creation
Args: request ([dict]): can be dict or list of dicts
Returns: [type]: [description]
Token-based authentication with required prefix "Token"
This serialize class provide the API representation
This serialize class provide the API representation
POST /accountinfo/value/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 39
"accountinfo_config=1&value='text'"{
"id": 1,
"accountinfo_config": 1,
"value": "text"
}This class will define the view behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this accountinfo value.
This serialize class provide the API representation
GET /accountinfo/value/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"id": 1,
"accountinfo_config": 1,
"value": "text"
}This class will define the view behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this accountinfo value.
This serialize class provide the API representation
This serialize class provide the API representation
PUT /accountinfo/value/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 39
"accountinfo_config=1&value='text'"{
"id": 1,
"accountinfo_config": 1,
"value": "text"
}This class will define the view behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this accountinfo value.
No response body
No content
DELETE /accountinfo/value/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
No response body
No content
This class will define the view behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this accountinfo value.
This serialize class provide the API representation
This serialize class provide the API representation
PATCH /accountinfo/value/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 39
"accountinfo_config=1&value='text'"{
"id": 1,
"accountinfo_config": 1,
"value": "text"
}Last updated

