insightly2 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/Gemfile +4 -0
- data/README.md +113 -0
- data/Rakefile +6 -0
- data/config/gem_secret.yml.example +1 -0
- data/insightly2.gemspec +29 -0
- data/lib/insightly2/client.rb +54 -0
- data/lib/insightly2/dsl/comments.rb +47 -0
- data/lib/insightly2/dsl/contacts.rb +130 -0
- data/lib/insightly2/dsl/countries.rb +12 -0
- data/lib/insightly2/dsl/currencies.rb +12 -0
- data/lib/insightly2/dsl/custom_fields.rb +22 -0
- data/lib/insightly2/dsl/emails.rb +57 -0
- data/lib/insightly2/dsl/events.rb +52 -0
- data/lib/insightly2/dsl/file_attachments.rb +14 -0
- data/lib/insightly2/dsl/file_categories.rb +52 -0
- data/lib/insightly2/dsl/notes.rb +85 -0
- data/lib/insightly2/dsl/opportunities.rb +134 -0
- data/lib/insightly2/dsl/opportunity_categories.rb +52 -0
- data/lib/insightly2/dsl/opportunity_state_reasons.rb +12 -0
- data/lib/insightly2/dsl/organisations.rb +128 -0
- data/lib/insightly2/dsl/pipeline_stages.rb +22 -0
- data/lib/insightly2/dsl/pipelines.rb +22 -0
- data/lib/insightly2/dsl/project_categories.rb +52 -0
- data/lib/insightly2/dsl/projects.rb +129 -0
- data/lib/insightly2/dsl/relationships.rb +12 -0
- data/lib/insightly2/dsl/tags.rb +15 -0
- data/lib/insightly2/dsl/task_categories.rb +52 -0
- data/lib/insightly2/dsl/tasks.rb +76 -0
- data/lib/insightly2/dsl/team_members.rb +53 -0
- data/lib/insightly2/dsl/teams.rb +53 -0
- data/lib/insightly2/dsl/users.rb +22 -0
- data/lib/insightly2/dsl.rb +65 -0
- data/lib/insightly2/errors/client_error.rb +10 -0
- data/lib/insightly2/errors/resource_not_found_error.rb +8 -0
- data/lib/insightly2/errors.rb +10 -0
- data/lib/insightly2/resources/comment.rb +10 -0
- data/lib/insightly2/resources/contact.rb +8 -0
- data/lib/insightly2/resources/country.rb +8 -0
- data/lib/insightly2/resources/currency.rb +8 -0
- data/lib/insightly2/resources/custom_field.rb +8 -0
- data/lib/insightly2/resources/email.rb +8 -0
- data/lib/insightly2/resources/event.rb +8 -0
- data/lib/insightly2/resources/file_attachment.rb +8 -0
- data/lib/insightly2/resources/file_category.rb +8 -0
- data/lib/insightly2/resources/note.rb +8 -0
- data/lib/insightly2/resources/object/attributes.rb +71 -0
- data/lib/insightly2/resources/object/serializers.rb +102 -0
- data/lib/insightly2/resources/object.rb +29 -0
- data/lib/insightly2/resources/opportunity.rb +8 -0
- data/lib/insightly2/resources/opportunity_category.rb +8 -0
- data/lib/insightly2/resources/opportunity_state_reason.rb +8 -0
- data/lib/insightly2/resources/organisation.rb +8 -0
- data/lib/insightly2/resources/pipeline.rb +8 -0
- data/lib/insightly2/resources/pipeline_stage.rb +8 -0
- data/lib/insightly2/resources/project.rb +8 -0
- data/lib/insightly2/resources/project_category.rb +8 -0
- data/lib/insightly2/resources/relationship.rb +8 -0
- data/lib/insightly2/resources/tag.rb +8 -0
- data/lib/insightly2/resources/task.rb +8 -0
- data/lib/insightly2/resources/task_category.rb +8 -0
- data/lib/insightly2/resources/team.rb +8 -0
- data/lib/insightly2/resources/team_member.rb +8 -0
- data/lib/insightly2/resources/user.rb +8 -0
- data/lib/insightly2/resources.rb +33 -0
- data/lib/insightly2/utils/url_helper.rb +17 -0
- data/lib/insightly2/utils.rb +8 -0
- data/lib/insightly2/version.rb +3 -0
- data/lib/insightly2.rb +22 -0
- data/spec/fixtures/vcr_cassettes/create_comment_attachment.yml +42 -0
- data/spec/fixtures/vcr_cassettes/create_contact.yml +47 -0
- data/spec/fixtures/vcr_cassettes/create_contact_image.yml +42 -0
- data/spec/fixtures/vcr_cassettes/create_email_comment.yml +47 -0
- data/spec/fixtures/vcr_cassettes/create_event.yml +95 -0
- data/spec/fixtures/vcr_cassettes/create_file_category.yml +89 -0
- data/spec/fixtures/vcr_cassettes/create_note.yml +95 -0
- data/spec/fixtures/vcr_cassettes/create_note_comment.yml +47 -0
- data/spec/fixtures/vcr_cassettes/create_note_file.yml +42 -0
- data/spec/fixtures/vcr_cassettes/create_opportunity.yml +98 -0
- data/spec/fixtures/vcr_cassettes/create_opportunity_category.yml +89 -0
- data/spec/fixtures/vcr_cassettes/create_opportunity_image.yml +42 -0
- data/spec/fixtures/vcr_cassettes/create_organisation.yml +116 -0
- data/spec/fixtures/vcr_cassettes/create_organisation_image.yml +42 -0
- data/spec/fixtures/vcr_cassettes/create_project.yml +106 -0
- data/spec/fixtures/vcr_cassettes/create_project_category.yml +89 -0
- data/spec/fixtures/vcr_cassettes/create_project_image.yml +42 -0
- data/spec/fixtures/vcr_cassettes/create_task.yml +98 -0
- data/spec/fixtures/vcr_cassettes/create_task_category.yml +89 -0
- data/spec/fixtures/vcr_cassettes/create_task_comment.yml +47 -0
- data/spec/fixtures/vcr_cassettes/create_team.yml +92 -0
- data/spec/fixtures/vcr_cassettes/create_team_member.yml +89 -0
- data/spec/fixtures/vcr_cassettes/delete_comment.yml +42 -0
- data/spec/fixtures/vcr_cassettes/delete_contact.yml +42 -0
- data/spec/fixtures/vcr_cassettes/delete_contact_image.yml +42 -0
- data/spec/fixtures/vcr_cassettes/delete_email.yml +42 -0
- data/spec/fixtures/vcr_cassettes/delete_event.yml +42 -0
- data/spec/fixtures/vcr_cassettes/delete_file_category.yml +42 -0
- data/spec/fixtures/vcr_cassettes/delete_note.yml +42 -0
- data/spec/fixtures/vcr_cassettes/delete_opportunity.yml +42 -0
- data/spec/fixtures/vcr_cassettes/delete_opportunity_category.yml +42 -0
- data/spec/fixtures/vcr_cassettes/delete_opportunity_image.yml +42 -0
- data/spec/fixtures/vcr_cassettes/delete_organisation.yml +42 -0
- data/spec/fixtures/vcr_cassettes/delete_organisation_image.yml +42 -0
- data/spec/fixtures/vcr_cassettes/delete_project.yml +42 -0
- data/spec/fixtures/vcr_cassettes/delete_project_category.yml +42 -0
- data/spec/fixtures/vcr_cassettes/delete_project_image.yml +42 -0
- data/spec/fixtures/vcr_cassettes/delete_task.yml +42 -0
- data/spec/fixtures/vcr_cassettes/delete_task_category.yml +42 -0
- data/spec/fixtures/vcr_cassettes/delete_team.yml +42 -0
- data/spec/fixtures/vcr_cassettes/delete_team_member.yml +42 -0
- data/spec/fixtures/vcr_cassettes/get_comment.yml +47 -0
- data/spec/fixtures/vcr_cassettes/get_contact.yml +47 -0
- data/spec/fixtures/vcr_cassettes/get_contact_emails.yml +47 -0
- data/spec/fixtures/vcr_cassettes/get_contact_image.yml +44 -0
- data/spec/fixtures/vcr_cassettes/get_contact_notes.yml +48 -0
- data/spec/fixtures/vcr_cassettes/get_contact_tasks.yml +48 -0
- data/spec/fixtures/vcr_cassettes/get_contacts.yml +184 -0
- data/spec/fixtures/vcr_cassettes/get_countries.yml +85 -0
- data/spec/fixtures/vcr_cassettes/get_currencies.yml +124 -0
- data/spec/fixtures/vcr_cassettes/get_custom_field.yml +46 -0
- data/spec/fixtures/vcr_cassettes/get_custom_fields.yml +46 -0
- data/spec/fixtures/vcr_cassettes/get_email.yml +48 -0
- data/spec/fixtures/vcr_cassettes/get_email_comments.yml +49 -0
- data/spec/fixtures/vcr_cassettes/get_emails.yml +47 -0
- data/spec/fixtures/vcr_cassettes/get_event.yml +48 -0
- data/spec/fixtures/vcr_cassettes/get_events.yml +48 -0
- data/spec/fixtures/vcr_cassettes/get_file_attachment.yml +4057 -0
- data/spec/fixtures/vcr_cassettes/get_file_categories.yml +46 -0
- data/spec/fixtures/vcr_cassettes/get_file_category.yml +46 -0
- data/spec/fixtures/vcr_cassettes/get_note.yml +48 -0
- data/spec/fixtures/vcr_cassettes/get_note_comments.yml +48 -0
- data/spec/fixtures/vcr_cassettes/get_notes.yml +52 -0
- data/spec/fixtures/vcr_cassettes/get_opportunities.yml +81 -0
- data/spec/fixtures/vcr_cassettes/get_opportunity.yml +49 -0
- data/spec/fixtures/vcr_cassettes/get_opportunity_categories.yml +46 -0
- data/spec/fixtures/vcr_cassettes/get_opportunity_category.yml +46 -0
- data/spec/fixtures/vcr_cassettes/get_opportunity_emails.yml +48 -0
- data/spec/fixtures/vcr_cassettes/get_opportunity_image.yml +44 -0
- data/spec/fixtures/vcr_cassettes/get_opportunity_notes.yml +48 -0
- data/spec/fixtures/vcr_cassettes/get_opportunity_state_history.yml +83 -0
- data/spec/fixtures/vcr_cassettes/get_opportunity_state_reasons.yml +47 -0
- data/spec/fixtures/vcr_cassettes/get_opportunity_tasks.yml +49 -0
- data/spec/fixtures/vcr_cassettes/get_organisation.yml +55 -0
- data/spec/fixtures/vcr_cassettes/get_organisation_emails.yml +48 -0
- data/spec/fixtures/vcr_cassettes/get_organisation_image.yml +42 -0
- data/spec/fixtures/vcr_cassettes/get_organisation_notes.yml +47 -0
- data/spec/fixtures/vcr_cassettes/get_organisation_tasks.yml +48 -0
- data/spec/fixtures/vcr_cassettes/get_organisations.yml +2092 -0
- data/spec/fixtures/vcr_cassettes/get_pipeline.yml +46 -0
- data/spec/fixtures/vcr_cassettes/get_pipeline_stage.yml +46 -0
- data/spec/fixtures/vcr_cassettes/get_pipeline_stages.yml +49 -0
- data/spec/fixtures/vcr_cassettes/get_pipelines.yml +46 -0
- data/spec/fixtures/vcr_cassettes/get_project.yml +52 -0
- data/spec/fixtures/vcr_cassettes/get_project_categories.yml +46 -0
- data/spec/fixtures/vcr_cassettes/get_project_category.yml +46 -0
- data/spec/fixtures/vcr_cassettes/get_project_emails.yml +48 -0
- data/spec/fixtures/vcr_cassettes/get_project_image.yml +44 -0
- data/spec/fixtures/vcr_cassettes/get_project_notes.yml +47 -0
- data/spec/fixtures/vcr_cassettes/get_project_tasks.yml +48 -0
- data/spec/fixtures/vcr_cassettes/get_projects.yml +52 -0
- data/spec/fixtures/vcr_cassettes/get_task.yml +49 -0
- data/spec/fixtures/vcr_cassettes/get_task_categories.yml +47 -0
- data/spec/fixtures/vcr_cassettes/get_task_category.yml +46 -0
- data/spec/fixtures/vcr_cassettes/get_task_comments.yml +47 -0
- data/spec/fixtures/vcr_cassettes/get_tasks.yml +148 -0
- data/spec/fixtures/vcr_cassettes/get_team.yml +47 -0
- data/spec/fixtures/vcr_cassettes/get_team_member.yml +46 -0
- data/spec/fixtures/vcr_cassettes/get_team_members.yml +46 -0
- data/spec/fixtures/vcr_cassettes/get_teams.yml +47 -0
- data/spec/fixtures/vcr_cassettes/get_user.yml +48 -0
- data/spec/fixtures/vcr_cassettes/get_users.yml +48 -0
- data/spec/fixtures/vcr_cassettes/update_comment.yml +97 -0
- data/spec/fixtures/vcr_cassettes/update_contact.yml +94 -0
- data/spec/fixtures/vcr_cassettes/update_contact_image.yml +42 -0
- data/spec/fixtures/vcr_cassettes/update_event.yml +97 -0
- data/spec/fixtures/vcr_cassettes/update_file_category.yml +91 -0
- data/spec/fixtures/vcr_cassettes/update_note.yml +100 -0
- data/spec/fixtures/vcr_cassettes/update_opportunity.yml +100 -0
- data/spec/fixtures/vcr_cassettes/update_opportunity_category.yml +91 -0
- data/spec/fixtures/vcr_cassettes/update_opportunity_image.yml +42 -0
- data/spec/fixtures/vcr_cassettes/update_organisation.yml +118 -0
- data/spec/fixtures/vcr_cassettes/update_organisation_image.yml +42 -0
- data/spec/fixtures/vcr_cassettes/update_project.yml +109 -0
- data/spec/fixtures/vcr_cassettes/update_project_category.yml +91 -0
- data/spec/fixtures/vcr_cassettes/update_project_image.yml +42 -0
- data/spec/fixtures/vcr_cassettes/update_task.yml +100 -0
- data/spec/fixtures/vcr_cassettes/update_task_category.yml +91 -0
- data/spec/fixtures/vcr_cassettes/update_team.yml +94 -0
- data/spec/fixtures/vcr_cassettes/update_team_member.yml +91 -0
- data/spec/fixtures/vcr_cassettes/z_insightly_client_status_check.yml +48 -0
- data/spec/insightly2/client_spec.rb +12 -0
- data/spec/insightly2/dsl/comments_spec.rb +45 -0
- data/spec/insightly2/dsl/contacts_spec.rb +130 -0
- data/spec/insightly2/dsl/countries_spec.rb +14 -0
- data/spec/insightly2/dsl/currencies_spec.rb +14 -0
- data/spec/insightly2/dsl/custom_fields_spec.rb +25 -0
- data/spec/insightly2/dsl/emails_spec.rb +56 -0
- data/spec/insightly2/dsl/events_spec.rb +55 -0
- data/spec/insightly2/dsl/file_attachments_spec.rb +15 -0
- data/spec/insightly2/dsl/file_categories_spec.rb +55 -0
- data/spec/insightly2/dsl/notes_spec.rb +86 -0
- data/spec/insightly2/dsl/opportunities_spec.rb +143 -0
- data/spec/insightly2/dsl/opportunity_categories_spec.rb +55 -0
- data/spec/insightly2/dsl/opportunity_state_reasons_spec.rb +14 -0
- data/spec/insightly2/dsl/organisations_spec.rb +131 -0
- data/spec/insightly2/dsl/pipeline_stages_spec.rb +25 -0
- data/spec/insightly2/dsl/pipelines_spec.rb +25 -0
- data/spec/insightly2/dsl/project_categories_spec.rb +55 -0
- data/spec/insightly2/dsl/projects_spec.rb +131 -0
- data/spec/insightly2/dsl/task_categories_spec.rb +55 -0
- data/spec/insightly2/dsl/tasks_spec.rb +75 -0
- data/spec/insightly2/dsl/team_members_spec.rb +56 -0
- data/spec/insightly2/dsl/teams_spec.rb +55 -0
- data/spec/insightly2/dsl/users_spec.rb +25 -0
- data/spec/insightly2/resources/comment_spec.rb +27 -0
- data/spec/insightly2/resources/contact_spec.rb +28 -0
- data/spec/insightly2/resources/custom_field_spec.rb +22 -0
- data/spec/insightly2/resources/email_spec.rb +29 -0
- data/spec/insightly2/resources/event_spec.rb +29 -0
- data/spec/insightly2/resources/file_attachment_spec.rb +31 -0
- data/spec/insightly2/resources/file_category_spec.rb +21 -0
- data/spec/insightly2/resources/note_spec.rb +29 -0
- data/spec/insightly2/resources/opportunity_category_spec.rb +21 -0
- data/spec/insightly2/resources/opportunity_spec.rb +30 -0
- data/spec/insightly2/resources/organisation_spec.rb +29 -0
- data/spec/insightly2/resources/pipeline_spec.rb +21 -0
- data/spec/insightly2/resources/pipeline_stage_spec.rb +21 -0
- data/spec/insightly2/resources/project_category_spec.rb +21 -0
- data/spec/insightly2/resources/project_spec.rb +30 -0
- data/spec/insightly2/resources/task_category_spec.rb +21 -0
- data/spec/insightly2/resources/task_spec.rb +32 -0
- data/spec/insightly2/resources/team_member_spec.rb +21 -0
- data/spec/insightly2/resources/team_spec.rb +27 -0
- data/spec/insightly2/resources/user_spec.rb +29 -0
- data/spec/insightly2_spec.rb +15 -0
- data/spec/spec_helper.rb +20 -0
- metadata +551 -0
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<INSIGHTLY_API_KEY>:@api.insight.ly/v2.1/Pipelines/124170
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
Server:
|
34
|
+
- Microsoft-IIS/7.5
|
35
|
+
Date:
|
36
|
+
- Sun, 05 Oct 2014 16:42:19 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '228'
|
39
|
+
Set-Cookie:
|
40
|
+
- snaptid=sac1prdc01ut05; path=/
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: '{"PIPELINE_ID":124170,"PIPELINE_NAME":"Awesome!","FOR_OPPORTUNITIES":true,"FOR_PROJECTS":false,"OWNER_USER_ID":607181}'
|
44
|
+
http_version:
|
45
|
+
recorded_at: Sun, 05 Oct 2014 16:42:12 GMT
|
46
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<INSIGHTLY_API_KEY>:@api.insight.ly/v2.1/PipelineStages/377384
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
Server:
|
34
|
+
- Microsoft-IIS/7.5
|
35
|
+
Date:
|
36
|
+
- Sun, 05 Oct 2014 16:35:56 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '215'
|
39
|
+
Set-Cookie:
|
40
|
+
- snaptid=sac1prdc01ut06; path=/
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: '{"PIPELINE_ID":124170,"STAGE_ID":377384,"STAGE_NAME":"Awaiting quotes","STAGE_ORDER":1,"OWNER_USER_ID":607181}'
|
44
|
+
http_version:
|
45
|
+
recorded_at: Sun, 05 Oct 2014 16:35:48 GMT
|
46
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,49 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<INSIGHTLY_API_KEY>:@api.insight.ly/v2.1/PipelineStages
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
Server:
|
34
|
+
- Microsoft-IIS/7.5
|
35
|
+
Date:
|
36
|
+
- Sun, 05 Oct 2014 16:31:17 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '301'
|
39
|
+
Set-Cookie:
|
40
|
+
- snaptid=sac1prdc01ut03; path=/
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: '[{"PIPELINE_ID":124170,"STAGE_ID":377384,"STAGE_NAME":"Awaiting quotes","STAGE_ORDER":1,"OWNER_USER_ID":607181},{"PIPELINE_ID":124170,"STAGE_ID":377385,"STAGE_NAME":"Pending
|
44
|
+
decision","STAGE_ORDER":2,"OWNER_USER_ID":607181},{"PIPELINE_ID":124170,"STAGE_ID":377386,"STAGE_NAME":"Active","STAGE_ORDER":3,"OWNER_USER_ID":607181},{"PIPELINE_ID":124170,"STAGE_ID":377388,"STAGE_NAME":"Lab
|
45
|
+
Completed","STAGE_ORDER":4,"OWNER_USER_ID":607181},{"PIPELINE_ID":124170,"STAGE_ID":377390,"STAGE_NAME":"Researcher
|
46
|
+
Completed","STAGE_ORDER":5,"OWNER_USER_ID":607181}]'
|
47
|
+
http_version:
|
48
|
+
recorded_at: Sun, 05 Oct 2014 16:31:08 GMT
|
49
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<INSIGHTLY_API_KEY>:@api.insight.ly/v2.1/Pipelines
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
Server:
|
34
|
+
- Microsoft-IIS/7.5
|
35
|
+
Date:
|
36
|
+
- Sun, 05 Oct 2014 16:41:25 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '231'
|
39
|
+
Set-Cookie:
|
40
|
+
- snaptid=sac1prdc01ut04; path=/
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: '[{"PIPELINE_ID":124170,"PIPELINE_NAME":"Awesome!","FOR_OPPORTUNITIES":true,"FOR_PROJECTS":false,"OWNER_USER_ID":607181}]'
|
44
|
+
http_version:
|
45
|
+
recorded_at: Sun, 05 Oct 2014 16:41:17 GMT
|
46
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<INSIGHTLY_API_KEY>:@api.insight.ly/v2.1/Projects/1657941
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
Server:
|
34
|
+
- Microsoft-IIS/7.5
|
35
|
+
Date:
|
36
|
+
- Sun, 05 Oct 2014 16:57:07 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '813'
|
39
|
+
Set-Cookie:
|
40
|
+
- snaptid=sac1prdc01ut06; path=/
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: '{"PROJECT_ID":1657941,"PROJECT_NAME":"The leaves are lovely this time
|
44
|
+
of year","STATUS":"IN PROGRESS","PROJECT_DETAILS":"---Begin Synced Data---\n<b>Project
|
45
|
+
Url:</b> https://www.scienceexchange.com/projects/30034\n<b>Estimate Deadline:</b>
|
46
|
+
May 6, 2014\n---End Synced Data---","OPPORTUNITY_ID":4070113,"STARTED_DATE":"2014-10-05
|
47
|
+
00:00:00","COMPLETED_DATE":null,"IMAGE_URL":"http://s3.amazonaws.com/insightly.userfiles/339351/","RESPONSIBLE_USER_ID":null,"OWNER_USER_ID":607181,"DATE_CREATED_UTC":"2014-10-05
|
48
|
+
16:53:35","DATE_UPDATED_UTC":"2014-10-05 16:53:35","CATEGORY_ID":null,"PIPELINE_ID":null,"STAGE_ID":null,"VISIBLE_TO":"EVERYONE","VISIBLE_TEAM_ID":null,"VISIBLE_USER_IDS":null,"CUSTOMFIELDS":[],"TAGS":[],"LINKS":[{"LINK_ID":51931087,"CONTACT_ID":null,"OPPORTUNITY_ID":null,"ORGANISATION_ID":35343476,"PROJECT_ID":1657941,"SECOND_PROJECT_ID":null,"SECOND_OPPORTUNITY_ID":null,"ROLE":null,"DETAILS":null},{"LINK_ID":51931088,"CONTACT_ID":70653013,"OPPORTUNITY_ID":null,"ORGANISATION_ID":null,"PROJECT_ID":1657941,"SECOND_PROJECT_ID":null,"SECOND_OPPORTUNITY_ID":null,"ROLE":null,"DETAILS":null},{"LINK_ID":51931089,"CONTACT_ID":null,"OPPORTUNITY_ID":4070113,"ORGANISATION_ID":null,"PROJECT_ID":1657941,"SECOND_PROJECT_ID":null,"SECOND_OPPORTUNITY_ID":null,"ROLE":"Converted
|
49
|
+
Opportunity","DETAILS":null}],"EMAILLINKS":[{"EMAIL_LINK_ID":61065705,"EMAIL_ID":17684953,"CONTACT_ID":null,"ORGANISATION_ID":null,"OPPORTUNITY_ID":null,"PROJECT_ID":1657941}]}'
|
50
|
+
http_version:
|
51
|
+
recorded_at: Sun, 05 Oct 2014 16:56:59 GMT
|
52
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<INSIGHTLY_API_KEY>:@api.insight.ly/v2.1/ProjectCategories
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
Server:
|
34
|
+
- Microsoft-IIS/7.5
|
35
|
+
Date:
|
36
|
+
- Sun, 05 Oct 2014 16:45:25 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '209'
|
39
|
+
Set-Cookie:
|
40
|
+
- snaptid=sac1prdc01ut05; path=/
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: '[{"CATEGORY_ID":1947441,"CATEGORY_NAME":"Email","ACTIVE":true,"BACKGROUND_COLOR":"9a482f"}]'
|
44
|
+
http_version:
|
45
|
+
recorded_at: Sun, 05 Oct 2014 16:45:18 GMT
|
46
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<INSIGHTLY_API_KEY>:@api.insight.ly/v2.1/ProjectCategories/1947441
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
Server:
|
34
|
+
- Microsoft-IIS/7.5
|
35
|
+
Date:
|
36
|
+
- Sun, 05 Oct 2014 16:46:18 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '206'
|
39
|
+
Set-Cookie:
|
40
|
+
- snaptid=sac1prdc01ut03; path=/
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: '{"CATEGORY_ID":1947441,"CATEGORY_NAME":"Email","ACTIVE":true,"BACKGROUND_COLOR":"9a482f"}'
|
44
|
+
http_version:
|
45
|
+
recorded_at: Sun, 05 Oct 2014 16:46:10 GMT
|
46
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,48 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<INSIGHTLY_API_KEY>:@api.insight.ly/v2.1/Projects/1657941/Emails
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
Server:
|
34
|
+
- Microsoft-IIS/7.5
|
35
|
+
Date:
|
36
|
+
- Sun, 05 Oct 2014 16:57:48 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '490'
|
39
|
+
Set-Cookie:
|
40
|
+
- snaptid=sac1prdc01ut06; path=/
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: '[{"EMAIL_ID":17684953,"GMAIL_MESSAGE_ID":null,"EMAIL_DATE_UTC":null,"EMAIL_FROM":"apps@scienceexchange.com","EMAIL_TO":"","EMAIL_CC":"","SUBJECT":"A
|
44
|
+
less than interesting email","BODY":"Told you","FORMAT":"HTML","SIZE":2075,"OWNER_USER_ID":607181,"DATE_CREATED_UTC":"2014-10-04
|
45
|
+
23:55:52","VISIBLE_TO":"EVERYONE","VISIBLE_TEAM_ID":null,"VISIBLE_USER_IDS":null,"FILE_ATTACHMENTS":[],"EMAILLINKS":[{"EMAIL_LINK_ID":61065705,"EMAIL_ID":17684953,"CONTACT_ID":null,"ORGANISATION_ID":null,"OPPORTUNITY_ID":null,"PROJECT_ID":1657941}]}]'
|
46
|
+
http_version:
|
47
|
+
recorded_at: Sun, 05 Oct 2014 16:57:41 GMT
|
48
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<INSIGHTLY_API_KEY>:@api.insight.ly/v2.1/Projects/1657941/Image
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 400
|
21
|
+
message: A server exception was thrown.
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Length:
|
28
|
+
- '84'
|
29
|
+
Content-Type:
|
30
|
+
- text/plain; charset=utf-8
|
31
|
+
Expires:
|
32
|
+
- "-1"
|
33
|
+
Server:
|
34
|
+
- Microsoft-IIS/7.5
|
35
|
+
Date:
|
36
|
+
- Sun, 05 Oct 2014 17:00:11 GMT
|
37
|
+
Set-Cookie:
|
38
|
+
- snaptid=sac1prdc01ut05; path=/
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: Could not find file 'C:\inetpub\Insightly2WebAPIv21\Content\images\project-icon.png'.
|
42
|
+
http_version:
|
43
|
+
recorded_at: Sun, 05 Oct 2014 17:00:03 GMT
|
44
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,47 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<INSIGHTLY_API_KEY>:@api.insight.ly/v2.1/Projects/1657941/Notes
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
Server:
|
34
|
+
- Microsoft-IIS/7.5
|
35
|
+
Date:
|
36
|
+
- Sun, 05 Oct 2014 17:00:56 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '421'
|
39
|
+
Set-Cookie:
|
40
|
+
- snaptid=sac1prdc01ut05; path=/
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: '[{"NOTE_ID":15379217,"TITLE":"I love lamp","BODY":null,"LINK_SUBJECT_ID":1657941,"LINK_SUBJECT_TYPE":"Project","OWNER_USER_ID":607181,"DATE_CREATED_UTC":"2014-10-05
|
44
|
+
16:54:43","DATE_UPDATED_UTC":"2014-10-05 16:54:43","VISIBLE_TO":"EVERYONE","VISIBLE_TEAM_ID":null,"VISIBLE_USER_IDS":null,"FILE_ATTACHMENTS":[],"NOTELINKS":[{"NOTE_LINK_ID":16817612,"NOTE_ID":15379217,"CONTACT_ID":null,"ORGANISATION_ID":null,"OPPORTUNITY_ID":null,"PROJECT_ID":1657941}]}]'
|
45
|
+
http_version:
|
46
|
+
recorded_at: Sun, 05 Oct 2014 17:00:49 GMT
|
47
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,48 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<INSIGHTLY_API_KEY>:@api.insight.ly/v2.1/Projects/1657941/Tasks
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
Server:
|
34
|
+
- Microsoft-IIS/7.5
|
35
|
+
Date:
|
36
|
+
- Sun, 05 Oct 2014 17:01:54 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '494'
|
39
|
+
Set-Cookie:
|
40
|
+
- snaptid=sac1prdc01ut06; path=/
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: '[{"TASK_ID":16599929,"Title":"Cpt Task","CATEGORY_ID":null,"DUE_DATE":null,"COMPLETED_DATE_UTC":null,"PUBLICLY_VISIBLE":true,"COMPLETED":false,"PROJECT_ID":1657941,"DETAILS":"","STATUS":"NOT
|
44
|
+
STARTED","PRIORITY":2,"PERCENT_COMPLETE":0,"START_DATE":null,"ASSIGNED_BY_USER_ID":null,"PARENT_TASK_ID":null,"OWNER_VISIBLE":false,"RESPONSIBLE_USER_ID":607181,"OWNER_USER_ID":607181,"DATE_CREATED_UTC":"2014-10-05
|
45
|
+
16:55:20","DATE_UPDATED_UTC":"2014-10-05 16:55:20","TASKLINKS":[{"TASK_LINK_ID":15750321,"TASK_ID":16599929,"CONTACT_ID":null,"ORGANISATION_ID":null,"OPPORTUNITY_ID":null,"PROJECT_ID":1657941}]}]'
|
46
|
+
http_version:
|
47
|
+
recorded_at: Sun, 05 Oct 2014 17:01:46 GMT
|
48
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<INSIGHTLY_API_KEY>:@api.insight.ly/v2.1/Projects
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
Server:
|
34
|
+
- Microsoft-IIS/7.5
|
35
|
+
Date:
|
36
|
+
- Sun, 05 Oct 2014 17:02:44 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '768'
|
39
|
+
Set-Cookie:
|
40
|
+
- snaptid=sac1prdc01ut06; path=/
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: '[{"PROJECT_ID":1657941,"PROJECT_NAME":"The leaves are lovely this time
|
44
|
+
of year","STATUS":"IN PROGRESS","PROJECT_DETAILS":"---Begin Synced Data---\n<b>Project
|
45
|
+
Url:</b> https://www.scienceexchange.com/projects/30034\n<b>Estimate Deadline:</b>
|
46
|
+
May 6, 2014\n---End Synced Data---","OPPORTUNITY_ID":4070113,"STARTED_DATE":"2014-10-05
|
47
|
+
00:00:00","COMPLETED_DATE":null,"IMAGE_URL":"http://s3.amazonaws.com/insightly.userfiles/339351/","RESPONSIBLE_USER_ID":null,"OWNER_USER_ID":607181,"DATE_CREATED_UTC":"2014-10-05
|
48
|
+
16:53:35","DATE_UPDATED_UTC":"2014-10-05 16:53:35","CATEGORY_ID":null,"PIPELINE_ID":null,"STAGE_ID":null,"VISIBLE_TO":"EVERYONE","VISIBLE_TEAM_ID":null,"VISIBLE_USER_IDS":null,"CUSTOMFIELDS":[],"TAGS":[],"LINKS":[{"LINK_ID":51931087,"CONTACT_ID":null,"OPPORTUNITY_ID":null,"ORGANISATION_ID":35343476,"PROJECT_ID":1657941,"SECOND_PROJECT_ID":null,"SECOND_OPPORTUNITY_ID":null,"ROLE":null,"DETAILS":null},{"LINK_ID":51931088,"CONTACT_ID":70653013,"OPPORTUNITY_ID":null,"ORGANISATION_ID":null,"PROJECT_ID":1657941,"SECOND_PROJECT_ID":null,"SECOND_OPPORTUNITY_ID":null,"ROLE":null,"DETAILS":null},{"LINK_ID":51931089,"CONTACT_ID":null,"OPPORTUNITY_ID":4070113,"ORGANISATION_ID":null,"PROJECT_ID":1657941,"SECOND_PROJECT_ID":null,"SECOND_OPPORTUNITY_ID":null,"ROLE":"Converted
|
49
|
+
Opportunity","DETAILS":null}],"EMAILLINKS":null}]'
|
50
|
+
http_version:
|
51
|
+
recorded_at: Sun, 05 Oct 2014 17:02:36 GMT
|
52
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,49 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<INSIGHTLY_API_KEY>:@api.insight.ly/v2.1/Tasks/14694323
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
Server:
|
34
|
+
- Microsoft-IIS/7.5
|
35
|
+
Date:
|
36
|
+
- Sun, 05 Oct 2014 17:22:28 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '540'
|
39
|
+
Set-Cookie:
|
40
|
+
- snaptid=sac1prdc01ut06; path=/
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: '{"TASK_ID":14694323,"Title":"Project Posted - Call or email requester","CATEGORY_ID":1947439,"DUE_DATE":"2013-11-18
|
44
|
+
00:00:00","COMPLETED_DATE_UTC":null,"PUBLICLY_VISIBLE":true,"COMPLETED":false,"PROJECT_ID":null,"DETAILS":"Project
|
45
|
+
Posted - Call or email requester","STATUS":"NOT STARTED","PRIORITY":null,"PERCENT_COMPLETE":0,"START_DATE":null,"ASSIGNED_BY_USER_ID":null,"PARENT_TASK_ID":null,"OWNER_VISIBLE":false,"RESPONSIBLE_USER_ID":607181,"OWNER_USER_ID":607181,"DATE_CREATED_UTC":"2014-07-31
|
46
|
+
16:43:47","DATE_UPDATED_UTC":"2014-07-31 16:43:47","TASKLINKS":[{"TASK_LINK_ID":13912965,"TASK_ID":14694323,"CONTACT_ID":null,"ORGANISATION_ID":null,"OPPORTUNITY_ID":4070111,"PROJECT_ID":null}]}'
|
47
|
+
http_version:
|
48
|
+
recorded_at: Sun, 05 Oct 2014 17:22:21 GMT
|
49
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,47 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<INSIGHTLY_API_KEY>:@api.insight.ly/v2.1/TaskCategories
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
Server:
|
34
|
+
- Microsoft-IIS/7.5
|
35
|
+
Date:
|
36
|
+
- Sun, 05 Oct 2014 17:15:21 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '254'
|
39
|
+
Set-Cookie:
|
40
|
+
- snaptid=sac1prdc01ut03; path=/
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: '[{"CATEGORY_ID":1947437,"CATEGORY_NAME":"Meeting","ACTIVE":true,"BACKGROUND_COLOR":"9f4681"},{"CATEGORY_ID":1947438,"CATEGORY_NAME":"Phone
|
44
|
+
call","ACTIVE":true,"BACKGROUND_COLOR":"4e469f"},{"CATEGORY_ID":1947440,"CATEGORY_NAME":"To-do","ACTIVE":true,"BACKGROUND_COLOR":"9a7f2f"}]'
|
45
|
+
http_version:
|
46
|
+
recorded_at: Sun, 05 Oct 2014 17:15:13 GMT
|
47
|
+
recorded_with: VCR 2.9.0
|