Bulk Upload
Last updated
Was this helpful?
Last updated
Was this helpful?
This API is associated with upload users in bulk on the Sunbird Platform.
/user/v1/upload
/user/v1/upload
(Required) Specify authorization key (format: Bearer api-key) received from administrator when performing given API request.
{{authorization}}
(Required) Access token of registered user performing given API request.
multipart/form-data
This is a .csv file.
The CSV file format supported is mentioned below:
This API is used to check the upload status
/data/v1/upload/status/{processId}
/data/v1/upload/status/{processId}
(Required) Accept relates to content-Type such as "MIME", Its used in response body for executing different multi purpose operations.Therefore, its important that the server is correctly set up, so that the MIME types transmitted are recognised and correct to determine what action to do when a resource is fetched.
<string>
(Required) The Content Type entity is the media type of the resource.Possible media types can be:-
<string>
(Required) To make use of the API, you require bearerorization. Raise a request to the administrator for the use of the API. You will receive the authorization key. Specify the key received, here.
{{authorization}}
(Required) It is a unique token/key to authenticate the user each time an API is called. For corresponding sessions this token is used, not your actual username/password
{{user_token}}
This API is used to create a background job for bulk upload of location data into the platform. The upload data is provided in CSV format.
/data/v1/bulk/location/upload
/data/v1/bulk/location/upload
(Required) To make use of any Location API, you require authorization. Raise a request to the administrator for the use of the API. You will receive the authorization key. Specify the key received, here.
{{authorization}}
(Required) It is a unique token/key to authenticate the user each time an API is called. For corresponding sessions this token is used, not your actual username/password
{{user_token}}
multipart/form-data
CSV file which contains location data in following format:
code: 'National level code for state'
name: 'Name of entity e.g a state'
parentCode: 'code of the parent'
parentId : 'ID of the parent (In a hierarchy),
Represents the information about the possible values of location types state, district, block, cluster
district
This API is associated with bulk uploading organisations on the Sunbird Platform.
/org/v1/upload
/org/v1/upload
(Required) Specify authorization key (format: Bearer api-key) received from administrator when performing given API request.
{{authorization}}
(Required) Access token of registered user performing given API request.
{{user_token}}
multipart/form-data
This is a .csv file.
The CSV file format supported is mentioned below: