GET api/CSK/syncmyshares/{leadNumber}/{requestor}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
leadNumber | integer |
Required |
|
requestor | string |
Required |
Body Parameters
None.
Response Information
Resource Description
SyncSharesResponseName | Description | Type | Additional information |
---|---|---|---|
LeadNumber | integer |
None. |
|
MyShares | Collection of MySharesModel |
None. |
|
StatusCode | integer |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "LeadNumber": 1, "MyShares": [ { "SharedID": 1, "SharedByLeadNumber": 2, "SharedByFirstName": "sample string 3", "SharedByLastName": "sample string 4", "Profiles": [ { "ProfileID": 1, "ProfileFirstName": "sample string 2", "ProfileLastName": "sample string 3", "ProfileBlob": "sample string 4", "ProfilePicBlob": "sample string 5" }, { "ProfileID": 1, "ProfileFirstName": "sample string 2", "ProfileLastName": "sample string 3", "ProfileBlob": "sample string 4", "ProfilePicBlob": "sample string 5" } ] }, { "SharedID": 1, "SharedByLeadNumber": 2, "SharedByFirstName": "sample string 3", "SharedByLastName": "sample string 4", "Profiles": [ { "ProfileID": 1, "ProfileFirstName": "sample string 2", "ProfileLastName": "sample string 3", "ProfileBlob": "sample string 4", "ProfilePicBlob": "sample string 5" }, { "ProfileID": 1, "ProfileFirstName": "sample string 2", "ProfileLastName": "sample string 3", "ProfileBlob": "sample string 4", "ProfilePicBlob": "sample string 5" } ] } ], "StatusCode": 2, "ErrorMessage": "sample string 3" }
application/xml, text/xml
Sample:
<SyncSharesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMK.CSK.API.Models"> <ErrorMessage>sample string 3</ErrorMessage> <StatusCode>2</StatusCode> <LeadNumber>1</LeadNumber> <MyShares> <MySharesModel> <Profiles> <ProfileModel> <ProfileBlob>sample string 4</ProfileBlob> <ProfileFirstName>sample string 2</ProfileFirstName> <ProfileID>1</ProfileID> <ProfileLastName>sample string 3</ProfileLastName> <ProfilePicBlob>sample string 5</ProfilePicBlob> </ProfileModel> <ProfileModel> <ProfileBlob>sample string 4</ProfileBlob> <ProfileFirstName>sample string 2</ProfileFirstName> <ProfileID>1</ProfileID> <ProfileLastName>sample string 3</ProfileLastName> <ProfilePicBlob>sample string 5</ProfilePicBlob> </ProfileModel> </Profiles> <SharedByFirstName>sample string 3</SharedByFirstName> <SharedByLastName>sample string 4</SharedByLastName> <SharedByLeadNumber>2</SharedByLeadNumber> <SharedID>1</SharedID> </MySharesModel> <MySharesModel> <Profiles> <ProfileModel> <ProfileBlob>sample string 4</ProfileBlob> <ProfileFirstName>sample string 2</ProfileFirstName> <ProfileID>1</ProfileID> <ProfileLastName>sample string 3</ProfileLastName> <ProfilePicBlob>sample string 5</ProfilePicBlob> </ProfileModel> <ProfileModel> <ProfileBlob>sample string 4</ProfileBlob> <ProfileFirstName>sample string 2</ProfileFirstName> <ProfileID>1</ProfileID> <ProfileLastName>sample string 3</ProfileLastName> <ProfilePicBlob>sample string 5</ProfilePicBlob> </ProfileModel> </Profiles> <SharedByFirstName>sample string 3</SharedByFirstName> <SharedByLastName>sample string 4</SharedByLastName> <SharedByLeadNumber>2</SharedByLeadNumber> <SharedID>1</SharedID> </MySharesModel> </MyShares> </SyncSharesResponse>