get https://api.imiconnect.io/resources/v2/profile/status/
This API is used to retrieve the status of the profile create or updated.
Request
The get profile request is specified as follows:
URI | https://api.imiconnect.io/resources/v2/profile/status/bc83b74b-8ecf-473a-b938-db014f6aecdf customerid: A client specific ID (such as CRN) to uniquely identify a customer. |
Method | GET |
Request Headers
The following table describes the request headers:
Request Header | Description |
---|---|
key | Client profile key |
##Request Example
https://api.imiconnect.io/resources/v2/profile/status/bc83b74b-8ecf-473a-b938-db014f6aecdf
https://api.imiconnect.io/resources/v1/customerprofile?customerId=2134&customerId=2142&showinwardlinks=0
Response Header
The following table describes the elements in the request URL:
Parameter | Description |
---|---|
Content-Type | application/json |
##Response Examples
{
"TotalCount": 1,
"code": "1000",
"FailureCount": 0,
"Results": [
{
"code": "1000",
"customerId": "2021",
"description": "SUCCESS"
}
],
"transid": "a61e8729-a404-41cc-909a-bf7de79d14c7",
"description": "SUCCESS",
"SuccessCount": 1
}
{
"Status": 0,
"Description": "success",
"Records": [{
"Attributes": [{
"Name": "msisdn",
"Value": "918106565495",
"ID": 8328
}, {
"Name": "email",
"Value": "[email protected]",
"ID": 8329
}, {
"Name": "name",
"Value": "jagadeesh",
"ID": 8330
}, {
"Name": "customerId",
"Value": "2134",
"ID": 8331
}, {
"Name": "sms",
"Value": "1",
"ID": 8332
}, {
"Name": "voice",
"Value": "1",
"ID": 8333
}, {
"Name": "ussd",
"Value": "1",
"ID": 8334
}, {
"Name": "rt",
"Value": "1",
"ID": 8335
}, {
"Name": "fb",
"Value": "1",
"ID": 8336
}, {
"Name": "fbc",
"Value": "1",
"ID": 8337
}, {
"Name": "twitter",
"Value": "1",
"ID": 8338
}, {
"Name": "mxit",
"Value": "1",
"ID": 8339
}, {
"Name": "wechat",
"Value": "1",
"ID": 8340
}, {
"Name": "wa",
"Value": "1",
"ID": 8341
}],
"InwardLinks": [],
"OutwardLinks": []
}, {
"Attributes": [{
"Name": "msisdn",
"Value": "919963427038",
"ID": 8328
}, {
"Name": "email",
"Value": "[email protected]",
"ID": 8329
}, {
"Name": "name",
"Value": "balaji",
"ID": 8330
}, {
"Name": "customerId",
"Value": "2142",
"ID": 8331
}, {
"Name": "sms",
"Value": "1",
"ID": 8332
}, {
"Name": "voice",
"Value": "1",
"ID": 8333
}, {
"Name": "ussd",
"Value": "1",
"ID": 8334
}, {
"Name": "rt",
"Value": "1",
"ID": 8335
}, {
"Name": "fb",
"Value": "1",
"ID": 8336
}, {
"Name": "fbc",
"Value": "1",
"ID": 8337
}, {
"Name": "twitter",
"Value": "1",
"ID": 8338
}, {
"Name": "mxit",
"Value": "1",
"ID": 8339
}, {
"Name": "wechat",
"Value": "1",
"ID": 8340
}, {
"Name": "wa",
"Value": "1",
"ID": 8341
}],
"InwardLinks": [],
"OutwardLinks": []
}],
"code": "1000",
"transid": "236fe39b-78b0-4f94-bcda-270cdd01ab9a"
}
Status Codes
This API may return the following response codes:
Response Code | Message | Description |
---|---|---|
1000 | Success | Returned when the request is completed successfully. |
7600 | No result found | Returned when an invalid transaction is sent. Note: Request may be in queue, try once again after some time. |
7001 | Authentication failed | Returned when the invalid service key or profile key is provided in the request. |