getImportProcess
get
                    /ccadmin/v1/importProcess/{token}
Get Import Process. Get the status resource of an import process.
                Request
Supported Media Types
                - application/json
Path Parameters
                - 
                    token: string
                    
                    Token corresponding to the import process.
Response
Supported Media Types
                - application/json
200 Response
Following model is returned when operation succeeds.
                
                
                    Root Schema : getImportProcess_response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            completed(optional): 
            boolean
            Flag indicating whether process is completed or not.
- 
            completedPercentage(optional): 
            integer
            The percentage of the process completed.
- 
            endTime(optional): 
            string
            Time when the process finished.
- 
            error(optional): 
            object  error
            
            Error detail of the original request.
- 
            progress(optional): 
            string
            Allowed Values:[ "succeeded", "failed", "processing", "pending", "aborted", "paused", "blocked" ]The current progress of the process.
- 
            requestStatus(optional): 
            integer
            HTTP status code of the original request.
- 
            startTime(optional): 
            string
            Time when the process started.
Nested Schema : error
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectError detail of the original request.
    
    
    
    
        Show Source
        - 
            detail(optional): 
            string
            Description of the problem.
- 
            title(optional): 
            string
            Short summary of the problem.
- 
            type(optional): 
            string
            Absolute URI that identifies the problem type.
Example Response (application/json)
                    {
    "completedPercentage":100,
    "progress":"succeeded",
    "startTime":"2016-04-04T20:25:01.982Z",
    "links":[
        {
            "rel":"meta",
            "href":"http://example.com:9080/file/import/ezzPxcPRmJIlXYCyOTQNT9HMacA_10000/importStatus.zip"
        },
        {
            "rel":"failedRecordsFile",
            "href":"http://example.com:9080/file/import/ezzPxcPRmJIlXYCyOTQNT9HMacA_10000/importFile.json"
        },
        {
            "rel":"failedAssociationRecordsFile",
            "href":"http://example.com:9080/file/import/ezzPxcPRmJIlXYCyOTQNT9HMacA_10000/failedAssociationRecordsFile.json"
        },
        {
            "rel":"self",
            "href":"http://example.com:9080/ccadminui/v1/importProcess/ezzPxcPRmJIlXYCyOTQNT9HMacA_10000"
        }
    ],
    "endTime":"2016-04-04T20:25:02.190Z",
    "completed":true,
    "requestStatus":200
}Default Response
The error response
                
                
                    Root Schema : errorModel
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
- 
            errorCode(optional): 
            string
            The numerical code identifying the error
- 
            errors(optional): 
            array  errors
            
            An optional list of errors if multiple errors were encountered
- 
            message(optional): 
            string
            The localized message describing the error
- 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
- 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
- 
            status(optional): 
            string
            The HTTP status code
- 
            type(optional): 
            string
            The URI to the HTTP state code definition
Nested Schema : errors
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayAn optional list of errors if multiple errors were encountered
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
- 
            errorCode(optional): 
            string
            The numerical code identifying the error
- 
            message(optional): 
            string
            The localized message describing the error
- 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
- 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
- 
            status(optional): 
            string
            The HTTP status code