Table of Contents

Authentication 2

Domain Calls 2

List of Services 2

List of Units 3

List of Categories 3

List of Payment Types 3

List of Cat Tools 4

List of Resource Specialization 4

List of Countries 4

List of Currencies 4

List of Internal Users 5

List of Project Managers 5

Client API 5

List of Clients 5

Get Client Details 6

Add / Edit New Client 9

Resource API 10

Add / Edit New Resource 17

Project API 18

Get Project 18

Add New Project 37

Add New Project Job 38

Add New Resource Job 39

Quote API 39

Add New Quote 39

Get Quote 40

Authentication

Most APIs require an authenticated user who is identified by a token. To obtain a token, call the following API and use the returned value in all subsequent calls. Each token is valid for 24 hours.

action: /token
method:post
grant_type default(“password”)
userName string
password string

example: grant_type=password&username=testuser&password=1234

response: JSON
{
.expires:”Wed, 16 Nov 2016 12:04:58 GMT”,
.issued:”Tue, 15 Nov 2016 12:04:58 GMT”,
GiveName:”Fola”,
Language:”en”,
RoleId:”7″,
URI:”/ProjectManager”,
UserId:”5″,
access_token:”hZ1qB6xDcKDoAtMTFr9jp0Tif9LrarFyNTcjBG “,
expires_in:86399,
token_type:”bearer”,
userName:”Fola Yahaya”
}

Access token is required for all the future API calls. Access token needs to be passed in the request header like

Authorization: Bearer <<ACCESS_TOKEN>>

Example

Authorization: Bearer hZ1qB6xDcKDoAtMTFr9jp0Tif9LrarFyNTcjBG

Domain Calls

List of Services

action: /api/AdminSettings/GetAllServices
method: post

request:
{
ShowAll: true
}

response:
[
{
Active: true,
ChildServices:[],
ServiceID:1,
ServiceName:”1.Translation”
}
]

List of Units

action: /api/AdminSettings/ GetAllUnits
method: post

request:
{
ShowAll: true
}

response:
[
{
UnitID:1,
UnitName:”Words”
}
]

List of Categories

action: /api/AdminSettings/GetCategories/<<CATEGORY_NAME>>
method: get
request: /api/AdminSettings/GetCategories/PROJECT

response:
[
{
CategoryFor: “PROJECT”,
CategoryID:149,
CategoryName:”Banking”
}
]

List of Payment Types

action: /api/AdminSettings/GetCategories/ PAYMENT_TYPE
method: get
request: /api/AdminSettings/GetCategories/PAYMENT_TYPE

response:
[
{
CategoryFor: “PAYMENT_TYPE”,
CategoryID:1,
CategoryName:”payment”
}
]

List of Cat Tools

action: /api/AdminSettings/GetCategories/ CAT_TOOLS
method: get
request: /api/AdminSettings/GetCategories/CAT_TOOLS

response:
[
{
CategoryFor: “CAT_TOOLS “,
CategoryID:1,
CategoryName:”DejaVu”
}
]

List of Resource Specialization

action: /api/AdminSettings/GetCategories/RESOURCE
method: get
request: /api/AdminSettings/GetCategories/RESOURCE

response:
[
{
CategoryFor: “RESOURCE “,
CategoryID:1,
CategoryName:”Environment”
}
]

List of Countries

action: /api/ SiteDropDown/GetCountries
method: get

response:
[
{
CountryID:8462,
CountryName:”Afghanistan”,
CountryValue:”Afghanistan”,
Language:”en”
}
]

List of Currencies

action: /api/ SiteDropDown/Get/CURRENCY
method: get

response:
[
{
CategoryName:”CURRENCY”,
DropDownText:”EUR”,
DropDownValue:”EUR”,
Language:”en”,
SortOrder:0
}
]

List of Internal Users

action: /api/ UserAccount/GetInternalUsers
method: get

response:
[
{
Name:”test user”,
UserId:1,
UserName:”test”
}
]

List of Project Managers

action: / api/UserAccount/GetProjectManagers
method: get

response:
[
{
Name:”test user”,
UserId:1,
UserName:”test”
}
]

Client API

List of Clients

request: action: /api/Client/GetAllForDropdown
method: get
[
{
“ClientId”:1,
“ClientName”:”Test Client”,
“Contacts”:[
{
“ContactId”:1,
“ContactName”:”Contact 1″
},
{
“ContactId”:2,
“ContactName”:”Contact 2″
}
]
},
{
“ClientId”:2,
“ClientName”:”Client 2″,
“Contacts”:[
]
}
]

Get Client Details

request: action: /api/Client/Get/<CLIENT_ID>
method: get

{

“ClientID”:1,
“ClientName”:”test client”,
“ClientCode”:”TC”,
“CompanyID”:1,
“Address1″:”140 Road”,
“Address2″:””,
“City”:”London”,
“State”:””,
“Zip”:”A1A A1A”,
“Country”:”United Kingdom (UK)”,
“WWWAddress”:”www.client.com”,
“Email”:””,
“Email2″:””,
“Phone1″:”+0000000”,
“Phone2″:””,
“Phone3″:””,
“Fax”:””,
“ClientStatus”:”ACTIVE”,
“DateCreated”:”2015-08-21T15:13:34.977″,
“Currency”:”GBP”,
“VATNumber”:””,
“PaymentTermsType”:”WITHIN_DAYS”,
“PaymentTermsDate”:30,
“InvoicingThreshhold”:0.0,
“CreatedBy”:””,
“MinimumFee”:0.0,
“ClientNumber”:””,
“Notes”:””,
“ReferredBy”:””,
“Facebook”:””,
“Twitter”:””,
“LinkedIn”:””,
“InterestLevel”:””,
“ClientType”:”CLIENT”,
“DateAdded”:{
“DateDisplayString”:”08/21/2015″,
“OriginalValue”:”2015-08-21T00:00:00″,
“OriginalValueConverted”:”2015-08-21T00:00:00″
},
“MinimumProjectFee”:0.0,
“DefaultInvoiceTemplate”:5,
“DefaultQuoteTemplate”:0,
“BankDetails”:”test”,
“DefaultTaxRate”:null,
“DefaultDiscountRate”:null,
“DefaultDropBoxFolder”:null,
“PaymentType”:null,
“SourceUser”:null,
“ClientContacts”:[
{
“ContactID”:1,
“ClientID”:1,
“FirstName”:”Firstname”,
“LastName”:”lastname”,
“Address1″:””,
“Address2″:””,
“City”:””,
“State”:””,
“Zip”:””,
“Country”:””,
“Position”:”Senior Manager – Private Sector Development”,
“Email”:”email@email.com”,
“Phone1″:”11111111111”,
“Phone2″:”22222222222”,
“FAX”:””,
“LanguagePreference”:”en”,
“Skype”:””,
“LinkedIn”:””,
“PrimaryFinanceContact”:false,
“Department”:”test”,
“UserSignature”:null,
“Notes”:null,
“ClientName”:null,
“DateLastContacted”:null,
“FullName”:”Firstname Lastname”,
}
],
“ClientPrices”:[
{
“PriceID”:4295,
“ClientID”:423,
“ServiceID”:194,
“UnitID”:1,
“Currency”:”GBP”,
“Price”:5.0,
“Service”:{
“ServiceID”:194,
“CompanyID”:1,
“ServiceName”:”ALB>EN”,
“ServiceParentID”:1,
“Active”:true,
“Deleted”:false,
“ServiceCode”:””,
“SourceLangISOCode”:”SQ”,
“TargetLangISOCode”:”EN”,
“ShowOnClientRequestForm”:true,
“ServicesPrices”:[ ],
“ServiceParentName”:”1.Translation”,
},
“Unit”:{
“UnitID”:1,
“CompanyID”:1,
“UnitName”:”Words”,
},
“Services”:null,
“PriceString”:”£5″
}
],

“CATCountSetting”:{
“ClientID”:1,
“XTranslatedPerc”:0.0,
“RepitionsPerc”:0.0,
“Match100Perc”:0.0,
“Match95_99Perc”:0.0,
“Match85_94Perc”:0.0,
“Match75_84Perc”:0.0,
“Match50_74Perc”:0.0,
“NoMatchPerc”:0.0,
“CrossFileRepitionsPerc”:0.0,
“ContextMatchPerc”:0.0,
“Match101Perc”:0.0
},

“Categories”:[
{
“CategoryID”:142,
“CompanyID”:1,
“CategoryName”:”Academic institution”,
“CategoryFor”:”CLIENT”,
“CategoryForArr”:null,
“CategoryForArrString”:null,
},
{
“CategoryID”:148,
“CompanyID”:1,
“CategoryName”:”Banking”,
“CategoryFor”:”CLIENT”,
“CategoryForArr”:null,
“CategoryForArrString”:null,
} ],
“CategoriesIdString”:[ “142”, “148” ],
“CategoriesNameString”: “Academic institution, Banking”,
“InvoicingThresholdType”:”AFTER”,
“InvoicingThresholdValue”:”0″,
“ServiceString”:””,
“PaymentTermsDate_WITHIN_DAYS”:30,
“PaymentTermsDate_SAME_MONTH”:null,
“PaymentTermsDate_NEXT_MONTH”:null,
“PaymentTermsDate_MONTH_FOLLOWING_NEXT”:null,
“Logins”:[
{
“UserId”:1,
“CompanyID”:1,
“UserName”:”client”,
“Password”:”client”,
“Email”:”client@client.com”,
“RoleId”:3,
“IsDisabled”:false,
“LastLoginDate”:”1753-01-01T00:00:00″,
“UserPreferences”:null,
“Comment”:null,
“DateCreated”:”2016-06-07T06:10:30.77″,
“DateModified”:”2016-10-17T19:39:08.737″,
“ForeignKeyID”:423,
“FirstName”:””,
“LastName”:””,
“Address1″:””,
“Address2″:””,
“City”:””,
“State”:””,
“Zip”:””,
“Country”:””,
“WWWAddress”:””,
“Phone1″:””,
“Phone2″:””,
“Phone3″:””,
“Fax”:””,
“UserSignature”:null,
“LanguagePreference”:null,
“ClientId”:null,
“Deleted”:false,
“Role”:{
“RoleId”:3,
“RoleName”:”Client”,
“StartUpPage”:”~/Cl/Default.aspx”,
“SystemRole”:true,
“TabsToDisplay”:null,
“TopLevelStats”:null,
“HideClientRatesAndRevenue”:false,
},
“FullName”:”client”,
}
],
“ClientNotes”:[
]
}

Add / Edit New Client

action: /api/Client/Post
method: post

You can post the same object what you get with Get Client API Call.

Invalid Response (When any validation error occurs)

{
“Message”:”The request is invalid.”,
“ModelState”:{
“item.ClientName”:[
“This is a required field”
]
}
}

Valid Response
{
“IsError”:false,
“ReturnId”:null,
“ReturnObject”:null,
“HeaderMessage”:”Saved!”,
“ReturnMessage”:”Client saved successfully.”
}

Resource API

Get Resource Details

response: action: /api/Resource/Get/<RESOURCE_ID>
method: get
response:
{

“ResourceID”:1,
“ResourceFirstName”:”firstname”,
“ResourceLastName”:”last”,
“ResourceCode”:”AG001″,
“Address1″:”111 test dr”,
“Address2″:””,
“City”:”London”,
“State”:””,
“Zip”:”AA1 1AA”,
“Country”:”United Kingdom (UK)”,
“WWWAddress”:”www.text.com”,
“Email”:”hi@test.com”,
“Phone1″:”+44 (0) 111 111111”,
“Phone2″:””,
“Phone3″:””,
“Fax”:””,
“Currency”:”GBP”,
“VATNumber”:””,
“ResourcePhoto”:””,
“TypeOfJobs”:””,
“DateCreated”:{
“DateDisplayString”:”02/24/2016″,
“TimeDisplayString”:”18:15″,
“OriginalValue”:”2016-02-24T13:15:45.087″,
“OriginalValueConverted”:”2016-02-24T18:15:45.087″,
“DateWithTimeDisplayString”:”02/24/2016 18:15″
},
“CreatedBy”:””,
“Status”:”ACTIVE”,
“PaymentTermsType”:”NEXT_MONTH”,
“PaymentTermsDate”:30,
“InvoicingThreshhold”:0.0,
“BankAccountName”:”Checquing”,
“BankAccountNumber”:”11111″,
“BankName”:”Natwest”,
“BankAddress1″:”11 rd”,
“BankAddress2″:”London”,
“BankPostalCode”:”A1A 1AA”,
“BankCountry”:”United Kingdom (UK)”,
“IBAN”:””,
“SortCode”:””,
“SWIFTCode”:””,
“PaypalID”:”aa@gmail.com”,
“MinimumFee”:0.0,
“ResourceRating”:3.0,
“Notes”:”test”,
“SpecialInstructions”:””,
“Software”:”Wordfast”,
“Skype”:””,
“LanguagePreference”:””,
“Email2″:””,
“ResourceCompanyName”:””,
“ResourceCV”:””,
“ResourceCVOriginalFileName”:””,
“ResourceCVFilePath”:””,
“ResourceCVFileSize”:0.0,
“DateAdded”:{
“DateDisplayString”:”02/24/2016″,
“OriginalValue”:”2016-02-24T00:00:00″,
“OriginalValueConverted”:”2016-02-24T00:00:00″
},
“MinimumProjectFee”:0.0,
“NDA”:false,
“Tested”:true,
“Certified”:false,
“Gender”:”F”,
“ResourceCVXML”:””,
“EPayment”:null,
“IntermediaryBank”:null,
“PaymentType”:null,
“AssociateManagerAccount”:null,
“ResourceCVs”:[
{
“ResourceCVId”:1,
“ResourceCV”:””,
“ResourceCVOriginalFileName”:””,
“ResourceCVFilePath”:””,
“ResourceCVFileSize”:0.0,
“ResourceCVWebPath”:null,
“ResourceCVSource”:”Dropbox”,
“NewCVUploadGuid”:null
}
],
“Availability”:”Free”,
“AvailableOn”:{
“DateDisplayString”:null,
“OriginalValue”:null,
“OriginalValueConverted”:null
},
“ResourceType”:null,
“ResourceTypeString”:null,
“NativeLanguage”:”EN”,
“ResourcePrices”:[
{
“PriceID”:1,
“ResourceID”:1,
“ServiceID”:11,
“UnitID”:1,
“Currency”:”GBP”,
“Price”:0.06,
“Services”:null,
“Service”:{
“ServiceID”:11,
“CompanyID”:1,
“ServiceName”:”ES>EN”,
“ServiceParentID”:1,
“Active”:true,
“Deleted”:false,
“ServiceCode”:””,
“SourceLangISOCode”:null,
“TargetLangISOCode”:null,
“ShowOnClientRequestForm”:true,
“ServicesPrices”:[
],
“ServiceParentName”:”1.Translation”,
“IsSelected”:false,
“UserId”:null,
“UserName”:null
},
“Unit”:{
“UnitID”:1,
“CompanyID”:1,
“UnitName”:”Words”,
“IsSelected”:false,
“UserId”:null,
“UserName”:null
},
“PriceString”:”£0.06″
}
],
“ResourceIntegrations”:[
{
“Id”:1,
“ResourceId”:1,
“IntegrationType”:”Memsource”,
“IntegrationId”:”11111″
}

],

“CATCountSetting”:{

“ResourceID”:1,

“XTranslatedPerc”:0.0,

“RepitionsPerc”:0.0,

“Match100Perc”:0.0,

“Match95_99Perc”:0.0,

“Match85_94Perc”:0.0,

“Match75_84Perc”:0.0,

“Match50_74Perc”:0.0,

“NoMatchPerc”:0.0,

“CrossFileRepitionsPerc”:0.0,

“ContextMatchPerc”:0.0,

“Match101Perc”:0.0

},

“Categories”:[

],

“Feedbacks”:[

{

“FeedbackId”:47,

“ResourceId”:1,

“Feedback”:”her 2nd batch was just plain sloppy – so marked her down to 3/5. Lots of typos”,

“DateCreated”:{

“DateDisplayString”:”02/28/2016″,

“TimeDisplayString”:”19:04″,

“OriginalValue”:”2016-02-28T14:04:57.77″,

“OriginalValueConverted”:”2016-02-28T19:04:57.77″,

“DateWithTimeDisplayString”:”02/28/2016 19:04″

},

“CreatedBy”:5,

“CreatedByUser”:{

“UserId”:1,

“CompanyID”:1,

“UserName”:”Test user”,

“Password”:””,

“Email”:””,

“RoleId”:7,

“IsDisabled”:false,

“LastLoginDate”:”1900-01-01T00:00:00″,

“Comment”:””,

“DateCreated”:”2010-07-25T12:03:27.53″,

“DateModified”:”2016-11-16T06:44:20.437″,

“ForeignKeyID”:0,

“FirstName”:””,

“LastName”:””,

“Address1″:””,

“Address2″:””,

“City”:””,

“State”:””,

“Zip”:””,

“Country”:””,

“WWWAddress”:””,

“Phone1″:””,

“Phone2″:””,

“Phone3″:””,

“Fax”:””,

“LanguagePreference”:”en”,

“ClientId”:null,

“Deleted”:false,

“Role”:null,

“FullName”:””,

“IsSelected”:false

},

}

],

“CategoriesIdString”:[

],

“SoftwaresIdString”:[

“Wordfast”

],

“CategoriesNameString”:””,

“InvoicingThresholdType”:”AFTER”,

“InvoicingThresholdValue”:”0″,

“OrigLoginIds”:[

1503

],

“AvailabilityString”:”Free”,

“NewCVUploadGuid”:null,

“ResourceCVWebPath”:”CV.pdf”,

“PaymentTermsDate_WITHIN_DAYS”:null,

“PaymentTermsDate_SAME_MONTH”:null,

“PaymentTermsDate_NEXT_MONTH”:30,

“PaymentTermsDate_MONTH_FOLLOWING_NEXT”:null,

“NoOfHolidays”:null,

“ResourceCVSource”:”Dropbox”,

“Logins”:[

{

“UserId”:1503,

“CompanyID”:1,

“UserName”:”test”,

“Password”:”abc”,

“Email”:””,

“RoleId”:4,

“IsDisabled”:false,

“LastLoginDate”:”1753-01-01T00:00:00″,

“UserPreferences”:null,

“Comment”:null,

“DateCreated”:”2016-02-24T13:15:45.1″,

“DateModified”:”2016-07-17T12:52:12.69″,

“ForeignKeyID”:1234,

“FirstName”:””,

“LastName”:””,

“Address1″:””,

“Address2″:””,

“City”:””,

“State”:””,

“Zip”:””,

“Country”:””,

“WWWAddress”:””,

“Phone1″:””,

“Phone2″:””,

“Phone3″:””,

“Fax”:””,

“UserSignature”:null,

“LanguagePreference”:null,

“ClientId”:null,

“Deleted”:false,

“Role”:{

“RoleId”:4,

“RoleName”:”Resource”,

“StartUpPage”:”~/Res/Default.aspx”,

“SystemRole”:true,

“TabsToDisplay”:null,

“TopLevelStats”:null,

“HideClientRatesAndRevenue”:false,

“RolePrivileges”:[

],

“AllPrivileges”:null,

“TabsToDisplayArr”:null,

“TopLevelStatsArr”:null

},

“FullName”:”test”,

}

],

“UserSignature”:null,

“WorkedWithClientCount”:null,

“ServicePriceRateTemp”:null,

“ResourceName”:”test”,

“ResourceNameWithFirstNameInitital”:”test”,

“FullName”:”test”

}

Add / Edit New Resource

action: /api/Resource/Post
method: post

You can post the same object what you get with Get Resource API Call.

Invalid Response (When any validation error occurs)

{
“Message”:”The request is invalid.”,
“ModelState”:{
“item.ResourceFirstName”:[
“This is a required field”
]
}
}

Valid Response
{
“IsError”:false,
“ReturnId”:null,
“ReturnObject”:null,
“HeaderMessage”:”Saved!”,
“ReturnMessage”:”Resource saved successfully.”
}

 

Project API

Get Project

response: action: /api/Project/Get /<PROJECT_ID>
method: get

{

“ProjectID”:1582,

“CompanyID”:1,

“ProjectName”:”Test”,

“ProjectCode”:”PRJ201600177″,

“ClientID”:558,

“ContactID”:279,

“ProjectManager”:1346,

“ClientReferenceNo”:”123″,

“ProjectComments”:”This is a test<br>”,

“StartDate”:{

“DateDisplayString”:”01/11/2016″,

“TimeDisplayString”:”10:09″,

“OriginalValue”:”2016-11-01T10:09:00″,

“OriginalValueConverted”:”2016-11-01T10:09:00″,

“DateWithTimeDisplayString”:”01/11/2016 10:09″

},

“EndDate”:{

“DateDisplayString”:”09/11/2016″,

“TimeDisplayString”:”19:05″,

“OriginalValue”:”2016-11-09T19:05:00″,

“OriginalValueConverted”:”2016-11-09T19:05:00″,

“DateWithTimeDisplayString”:”09/11/2016 19:05″

},

“DateCreated”:{

“DateDisplayString”:”01/11/2016″,

“TimeDisplayString”:”19:06″,

“OriginalValue”:”2016-11-01T19:06:12.313″,

“OriginalValueConverted”:”2016-11-01T19:06:12.313″,

“DateWithTimeDisplayString”:”01/11/2016 19:06″

},

“CreatedBy”:”kimberley”,

“ProjectStatus”:”ACTIVE”,

“Currency”:”EUR”,

“SendReminders”:false,

“ReminderThreshhold”:1,

“LastReminderAlertSent”:””,

“TotalReminderAlertSent”:0,

“IsAligned”:false,

“AssociatedQuoteId”:null,

“DefaultDropBoxFolder”:null,

“DefaultCloudStorage”:null,

“DefaultCloudStorageFolderName”:null,

“ProjectType”:null,

“ProjectJobs”:[

{

“JobId”:2942,

“ProjectID”:1582,

“JobCode”:”JB01096″,

“JobName”:”Test”,

“MainServiceID”:332,

“TotalCost”:420.00000000000006,

“JobComments”:””,

“StartDate”:{

“DateDisplayString”:”01/11/2016″,

“TimeDisplayString”:”10:09″,

“OriginalValue”:”2016-11-01T10:09:00″,

“OriginalValueConverted”:”2016-11-01T10:09:00″,

“DateWithTimeDisplayString”:”01/11/2016 10:09″

},

“EndDate”:{

“DateDisplayString”:”09/11/2016″,

“TimeDisplayString”:”19:02″,

“OriginalValue”:”2016-11-09T19:02:00″,

“OriginalValueConverted”:”2016-11-09T19:02:00″,

“DateWithTimeDisplayString”:”09/11/2016 19:02″

},

“DateCreated”:{

“DateDisplayString”:”01/11/2016″,

“TimeDisplayString”:”19:09″,

“OriginalValue”:”2016-11-01T19:09:00.683″,

“OriginalValueConverted”:”2016-11-01T19:09:00.683″,

“DateWithTimeDisplayString”:”01/11/2016 19:09″

},

“CreatedBy”:”kimberley”,

“JobStatus”:”ACTIVE”,

“UnitID”:1,

“UnitValue”:3000.0,

“UnitRate”:0.14,

“FixedAmount”:0.0,

“Currency”:”EUR”,

“GrossAmount”:420.00000000000006,

“VAT”:null,

“Discount”:null,

“AdditionalTax2Text”:null,

“AdditionalTax2Value”:null,

“AdditionalTax3Text”:null,

“AdditionalTax3Value”:null,

“ResourceJobs”:[

{

“ResourceJobID”:3915,

“JobId”:2942,

“ProjectID”:1582,

“ResourceID”:902,

“JobCode”:”RS01156″,

“JobName”:”Test”,

“MainServiceID”:332,

“TotalCost”:120.0,

“JobComments”:”Angela to review test<br>”,

“StartDate”:{

“DateDisplayString”:”01/11/2016″,

“TimeDisplayString”:”10:09″,

“OriginalValue”:”2016-11-01T10:09:00″,

“OriginalValueConverted”:”2016-11-01T10:09:00″,

“DateWithTimeDisplayString”:”01/11/2016 10:09″

},

“EndDate”:{

“DateDisplayString”:”09/11/2016″,

“TimeDisplayString”:”19:05″,

“OriginalValue”:”2016-11-09T19:05:00″,

“OriginalValueConverted”:”2016-11-09T19:05:00″,

“DateWithTimeDisplayString”:”09/11/2016 19:05″

},

“DateCreated”:{

“DateDisplayString”:”01/11/2016″,

“TimeDisplayString”:”19:13″,

“OriginalValue”:”2016-11-01T19:13:09.333″,

“OriginalValueConverted”:”2016-11-01T19:13:09.333″,

“DateWithTimeDisplayString”:”01/11/2016 19:13″

},

“CreatedBy”:”kimberley”,

“JobStatus”:”ACTIVE”,

“UnitID”:1,

“UnitValue”:3000.0,

“UnitRate”:0.04,

“FixedAmount”:0.0,

“Currency”:”EUR”,

“CCEmail”:null,

“CCResourceId”:884,

“ProjectManagerUserId”:0,

“ProjectManagerName”:null,

“Resource”:{

“ResourceID”:902,

“CompanyID”:1,

“ResourceFirstName”:”Michael”,

“ResourceLastName”:”Fassbender”,

“ResourceCode”:”MF”,

“Address1″:””,

“Address2″:””,

“City”:””,

“State”:””,

“Zip”:””,

“Country”:”Afghanistan”,

“WWWAddress”:””,

“Email”:”fassbender@strategicagenda.com”,

“Phone1″:””,

“Phone2″:””,

“Phone3″:””,

“Fax”:””,

“Currency”:”EUR”,

“VATNumber”:”4345345″,

“ResourcePhoto”:””,

“TypeOfJobs”:””,

“DateCreated”:{

“DateDisplayString”:”18/02/2015″,

“TimeDisplayString”:”9:52″,

“OriginalValue”:”2015-02-18T09:52:00.61″,

“OriginalValueConverted”:”2015-02-18T09:52:00.61″,

“DateWithTimeDisplayString”:”18/02/2015 9:52″

},

“CreatedBy”:””,

“Status”:”ACTIVE”,

“PaymentTermsType”:””,

“PaymentTermsDate”:0,

“InvoicingThreshhold”:0.0,

“BankAccountName”:””,

“BankAccountNumber”:””,

“BankName”:””,

“BankAddress1″:””,

“BankAddress2″:””,

“BankPostalCode”:””,

“BankCountry”:””,

“IBAN”:””,

“SortCode”:””,

“SWIFTCode”:””,

“PaypalID”:””,

“MinimumFee”:0.0,

“ResourceRating”:5.0,

“Notes”:””,

“SpecialInstructions”:””,

“Software”:””,

“Skype”:””,

“LanguagePreference”:”en”,

“Email2″:””,

“ResourceCompanyName”:””,

“ResourceCV”:””,

“ResourceCVOriginalFileName”:””,

“ResourceCVFilePath”:””,

“ResourceCVFileSize”:0.0,

“DateAdded”:{

“DateDisplayString”:”18/02/2015″,

“OriginalValue”:”2015-02-18T00:00:00″,

“OriginalValueConverted”:”2015-02-18T00:00:00″

},

“MinimumProjectFee”:0.0,

“NDA”:false,

“Tested”:false,

“Certified”:false,

“Gender”:null,

“ResourceCVXML”:null,

“EPayment”:null,

“IntermediaryBank”:null,

“PaymentType”:null,

“AssociateManagerAccount”:null,

“ResourceCVs”:null,

“Attachments”:null,

“Availability”:null,

“AvailableOn”:{

“DateDisplayString”:null,

“OriginalValue”:null,

“OriginalValueConverted”:null

},

“ResourceType”:”In-house”,

“ResourceTypeString”:null,

“NativeLanguage”:null,

“ResourcePrices”:[

],

“ResourceIntegrations”:[

],

“CATCountSetting”:null,

“Categories”:[

],

“Feedbacks”:[

],

“CategoriesIdString”:null,

“SoftwaresIdString”:null,

“CategoriesNameString”:null,

“InvoicingThresholdType”:null,

“InvoicingThresholdValue”:null,

“OrigLoginIds”:null,

“AvailabilityString”:null,

“NewCVUploadGuid”:null,

“ResourceCVWebPath”:null,

“PaymentTermsDate_WITHIN_DAYS”:null,

“PaymentTermsDate_SAME_MONTH”:null,

“PaymentTermsDate_NEXT_MONTH”:null,

“PaymentTermsDate_MONTH_FOLLOWING_NEXT”:null,

“NoOfHolidays”:10,

“ResourceCVSource”:”System”,

“Logins”:null,

“UserSignature”:null,

“WorkedWithClientCount”:null,

“ServicePriceRateTemp”:null,

“ResourceName”:”Michael Fassbender”,

“ResourceNameWithFirstNameInitital”:”M Fassbender”,

“FullName”:”Michael Fassbender”,

“IsSelected”:false,

“UserId”:null,

“UserName”:null

},

“CATCount”:null,

“ProjectName”:null,

“VolumeString”:”3,000 Words”,

“ServiceString”:”Translation -> EN>ES (MEX)”,

“TotalCostString”:”€120.00″,

“RateString”:”€0.04″,

“AmountType”:”RATEUNIT”,

“UnitString”:”Words”,

“CCResourceName”:null,

“NonPoed”:true,

“HasUploadedFiles”:false,

“Attachments”:null,

“MemsourceJobId”:null,

“MemsourceJobPartId”:null,

“MemsourceTaskId”:null,

“Progress”:0.0,

“ProgressString”:null,

“URL”:null,

“IsOverdue”:true,

“IsSelected”:false,

“UserId”:null,

“UserName”:null

}

],

“CATCount”:null,

“InvoiceLineItems”:[

],

“MemsourceDetails”:[

],

“Progress”:0.0,

“ProgressString”:null,

“StatusString”:”Active”,

“VolumeString”:”3,000 Words”,

“UnitString”:”Words”,

“ServiceString”:”Translation -> EN>ES (MEX)”,

“TotalCostString”:”€420.00″,

“RateString”:”€0.14″,

“AmountType”:”RATEUNIT”,

“ClientId”:null,

“ClientName”:null,

“UnInvoiced”:true,

“TotalDiscount”:0.0,

“TotalTax1”:0.0,

“TotalTax2”:0.0,

“TotalTax3”:0.0,

“TotalRevenue”:420.00000000000006,

“TotalRevenueString”:”€420.00″,

“TotalDiscountString”:”€0.00″,

“TotalTax1String”:”€0.00″,

“TotalTax2String”:”€0.00″,

“TotalTax3String”:”€0.00″,

“IsOverdue”:true,

“CreateMultipleJobs”:null,

“MultipleServices”:null,

“ProjectName”:null,

“ProjectType”:null,

“ProjectManager”:null,

“ContactEmail”:null,

“SourceUser”:null,

“Attachments”:null,

“ResourceNames”:”M Fassbender”,

“IsSelected”:false,

“UserId”:null,

“UserName”:null

}

],

“PurchaseOrders”:[

],

“Client”:{

“ClientID”:558,

“ClientName”:”Volvo”,

“ClientCode”:”VOLV”,

“CompanyID”:1,

“Address1″:””,

“Address2″:””,

“City”:””,

“State”:””,

“Zip”:””,

“Country”:””,

“WWWAddress”:””,

“Email”:””,

“Email2″:””,

“Phone1″:””,

“Phone2″:””,

“Phone3″:””,

“Fax”:””,

“ClientStatus”:”ACTIVE”,

“DateCreated”:”2015-08-13T15:04:44.927″,

“Currency”:”EUR”,

“VATNumber”:””,

“PaymentTermsType”:””,

“PaymentTermsDate”:0,

“InvoicingThreshhold”:0.0,

“CreatedBy”:””,

“MinimumFee”:0.0,

“ClientNumber”:””,

“Notes”:””,

“ReferredBy”:””,

“Facebook”:””,

“Twitter”:””,

“LinkedIn”:””,

“InterestLevel”:””,

“ClientType”:”CLIENT”,

“DateAdded”:{

“DateDisplayString”:”13/08/2015″,

“OriginalValue”:”2015-08-13T15:04:44.927″,

“OriginalValueConverted”:”2015-08-13T15:04:44.927″

},

“MinimumProjectFee”:0.0,

“DefaultInvoiceTemplate”:0,

“DefaultQuoteTemplate”:0,

“BankDetails”:””,

“DefaultTaxRate”:null,

“DefaultDiscountRate”:null,

“DefaultDropBoxFolder”:null,

“PaymentType”:null,

“SourceUser”:null,

“ClientContacts”:[

{

“ContactID”:279,

“ClientID”:558,

“FirstName”:”Contact”,

“LastName”:”5″,

“Address1″:””,

“Address2″:””,

“City”:””,

“State”:””,

“Zip”:””,

“Country”:””,

“Position”:””,

“Email”:”email1@com.com”,

“Phone1″:””,

“Phone2″:””,

“FAX”:””,

“LanguagePreference”:””,

“Skype”:””,

“LinkedIn”:””,

“PrimaryFinanceContact”:null,

“Department”:null,

“UserSignature”:null,

“Notes”:null,

“ClientName”:null,

“DateLastContacted”:null,

“FullName”:”Contact 5″,

“IsSelected”:false,

“UserId”:null,

“UserName”:null

},

{

“ContactID”:280,

“ClientID”:558,

“FirstName”:”Contact”,

“LastName”:”6″,

“Address1″:””,

“Address2″:””,

“City”:””,

“State”:””,

“Zip”:””,

“Country”:””,

“Position”:””,

“Email”:”email1@com.com”,

“Phone1″:””,

“Phone2″:””,

“FAX”:””,

“LanguagePreference”:””,

“Skype”:””,

“LinkedIn”:””,

“PrimaryFinanceContact”:null,

“Department”:null,

“UserSignature”:null,

“Notes”:null,

“ClientName”:null,

“DateLastContacted”:null,

“FullName”:”Contact 6″,

“IsSelected”:false,

“UserId”:null,

“UserName”:null

},

{

“ContactID”:281,

“ClientID”:558,

“FirstName”:”Contact”,

“LastName”:”7″,

“Address1″:””,

“Address2″:””,

“City”:””,

“State”:””,

“Zip”:””,

“Country”:””,

“Position”:””,

“Email”:”email1@com.com”,

“Phone1″:””,

“Phone2″:””,

“FAX”:””,

“LanguagePreference”:””,

“Skype”:””,

“LinkedIn”:””,

“PrimaryFinanceContact”:null,

“Department”:null,

“UserSignature”:null,

“Notes”:null,

“ClientName”:null,

“DateLastContacted”:null,

“FullName”:”Contact 7″,

“IsSelected”:false,

“UserId”:null,

“UserName”:null

},

{

“ContactID”:282,

“ClientID”:558,

“FirstName”:”Contact”,

“LastName”:”8″,

“Address1″:””,

“Address2″:””,

“City”:””,

“State”:””,

“Zip”:””,

“Country”:””,

“Position”:””,

“Email”:”email1@com.com”,

“Phone1″:””,

“Phone2″:””,

“FAX”:””,

“LanguagePreference”:””,

“Skype”:””,

“LinkedIn”:””,

“PrimaryFinanceContact”:null,

“Department”:null,

“UserSignature”:null,

“Notes”:null,

“ClientName”:null,

“DateLastContacted”:null,

“FullName”:”Contact 8″,

“IsSelected”:false,

“UserId”:null,

“UserName”:null

},

{

“ContactID”:283,

“ClientID”:558,

“FirstName”:”Contact”,

“LastName”:”9″,

“Address1″:””,

“Address2″:””,

“City”:””,

“State”:””,

“Zip”:””,

“Country”:””,

“Position”:””,

“Email”:”email1@com.com”,

“Phone1″:””,

“Phone2″:””,

“FAX”:””,

“LanguagePreference”:””,

“Skype”:””,

“LinkedIn”:””,

“PrimaryFinanceContact”:null,

“Department”:null,

“UserSignature”:null,

“Notes”:null,

“ClientName”:null,

“DateLastContacted”:null,

“FullName”:”Contact 9″,

“IsSelected”:false,

“UserId”:null,

“UserName”:null

},

{

“ContactID”:284,

“ClientID”:558,

“FirstName”:”Contact”,

“LastName”:”10″,

“Address1″:””,

“Address2″:””,

“City”:””,

“State”:””,

“Zip”:””,

“Country”:””,

“Position”:””,

“Email”:”email1@com.com”,

“Phone1″:””,

“Phone2″:””,

“FAX”:””,

“LanguagePreference”:””,

“Skype”:””,

“LinkedIn”:””,

“PrimaryFinanceContact”:null,

“Department”:null,

“UserSignature”:null,

“Notes”:null,

“ClientName”:null,

“DateLastContacted”:null,

“FullName”:”Contact 10″,

“IsSelected”:false,

“UserId”:null,

“UserName”:null

}

],

“ClientPrices”:[

],

“CATCountSetting”:null,

“Categories”:[

],

“CategoriesIdString”:null,

“CategoriesNameString”:null,

“InvoicingThresholdType”:null,

“InvoicingThresholdValue”:null,

“OrigLoginIds”:null,

“ServiceString”:null,

“PaymentTermsDate_WITHIN_DAYS”:null,

“PaymentTermsDate_SAME_MONTH”:null,

“PaymentTermsDate_NEXT_MONTH”:null,

“PaymentTermsDate_MONTH_FOLLOWING_NEXT”:null,

“Logins”:null,

“ClientNotes”:[

],

“IsSelected”:false,

“UserId”:null,

“UserName”:null

},

“ProjectManagerName”:”Kimberley Richard”,

“ProjectManagerEmail”:”linoubtz@hotmail.com”,

“CategoriesIdString”:[

“10”

],

“CategoryNameString”:”Charity job”,

“UnInvoicedJobsCount”:1,

“TotalRevenue”:420.0,

“TotalCost”:120.0,

“TotalProfit”:300.0,

“TotalProfitMargin”:71.43,

“TotalRevenueString”:”€420.00″,

“TotalCostString”:”€120.00″,

“TotalProfitString”:”€300.00″,

“TotalProfitMarginString”:”71.43%”,

“ContactName”:”Contact 5″,

“IsOverdue”:true,

“ProjectContactEmails”:null,

“ProjectMemsourceDetail”:null,

“IsSelected”:false,

“UserId”:null,

“UserName”:null

}

Add New Project

action: /api/Project/Post
method: post

request:

{
“ProjectName”:”test”,
“ProjectCode”:”test123”,
“ClientID”:1,
“ContactID”:1,
“ProjectManager”:”5″,
“ClientReferenceNo”:null,
“ProjectComments”:null,
“ProjectStatus”:”ACTIVE”,
“Currency”:null,
“SendReminders”:null,
“ReminderThreshhold”:null,
“LastReminderAlertSent”:null,
“TotalReminderAlertSent”:null,
“IsAligned”:null,
“ProjectContactEmails”:null,
}

For Project Code, you can put your own project code or you can call “/api/Project/Get/0” and it will provide an auto generated project code…

Add New Project Job

action: /api/Project/UpdateClientJob
method: post

request:
{
“ProjectID”:1582,
“JobCode”:”JB01108″,
“JobName”:”Test”,
“MainServiceID”:””,
“JobComments”:null,
“StartDate”:{
“DateWithTimeDisplayString”:”19/11/2016 9:00″
},
“EndDate”:{
“DateWithTimeDisplayString”:”20/11/2016 9:00″
},
“JobStatus”:null,
“UnitID”:null,
“UnitValue”:null,
“UnitRate”:null,
“FixedAmount”:null,
“Currency”:”EUR”,
“VAT”:null,
“Discount”:null,
“AdditionalTax2Text”:null,
“AdditionalTax2Value”:null,
“AdditionalTax3Text”:null,
“AdditionalTax3Value”:null,
“AmountType”:”RATEUNIT”,
“ClientId”:558,
}

Add New Resource Job

action: /api/Project/ UpdateResourceJob
method: post

request:
{
“JobId”:2942,
“ProjectID”:1582,
“ResourceID”:null,
“JobCode”:”RS01170″,
“JobName”:”Test”,
“MainServiceID”:”332″,
“JobComments”:null,
“StartDate”:{
“DateWithTimeDisplayString”:”19/11/2016 11:31″
},
“EndDate”:{
“DateWithTimeDisplayString”:”20/11/2016 11:31″
},
“UnitID”:”1″,
“UnitValue”:3000,
“UnitRate”:null,
“FixedAmount”:null,
“Currency”:null,
“CCEmail”:null,
“CCResourceId”:””,
“AmountType”:”RATEUNIT”,
}

Quote API

Add New Quote

Action: /api/Quote/Post
method: post
request:
{
“QuoteName”:null,
“QuoteCode”:null,
“ClientID”:1,
“ContactID”:null,
“ProjectManager”:”5″,
“QuoteComments”:null,
“QuoteStatus”:”OPEN”,
“Currency”:”GBP”,
“VAT”:null,
“Discount”:null,
“Probability”:null,
“AdditionalDiscountValue”:null,
“AdditionalDicsountText”:null,
“ClientReferenceNo”:null,
“QuoteLineItems”:[
{
“QuoteLineItemID”:-1,
“JobName”:”2″,
“MainServiceID”:194,
“JobComments”:””,
“StartDate”:{
“DateDisplayString”:”12/31/2016″,
“TimeDisplayString”:”14:49″,
},
“EndDate”:{
“DateDisplayString”:”01/01/2017″,
“TimeDisplayString”:”14:49″,
},
“UnitID”:2,
“UnitValue”:2,
“UnitRate”:2,
“FixedAmount”:null,
“GrossAmount”:4,
“VAT”:2,
“Discount”:2,
“AmountType”:”RATEUNIT”,
}
],
}

Get Quote

Action: /api/Quote/Get/<<QUOTE_ID>>
method: get
response: You get the same object back which you used to post on Add New Quote