{"info":{"_postman_id":"68c515b5-5772-4772-a161-2935a096cd3b","name":"Express Partnership Gateway","description":"<html><head></head><body><p>Aşağıda İş Ortağı tarafından kullanılabilecek end-pointler ve kullanım amaçları tanıtılmıştır.</p>\n<p>End-pointler authentication sürecinden başarılı şekilde geçen istekler için çalışacaktır. Bearer token yöntemi kullanılmaktadır.</p>\n<p>Entegrasyon için IP tanımlamaları ve kullanıcı adı - şifre bilgileri için sistem ekibi ile iletişime geçilmelidir.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"11161148","collectionId":"68c515b5-5772-4772-a161-2935a096cd3b","publishedId":"Szf82TLf","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-04-21T19:00:05.000Z"},"item":[{"name":"Authorization","item":[{"name":"token","id":"168054f4-0a6c-45e4-a52c-64d5ea8a8745","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"clientName\": \"<string>\",\r\n  \"password\": \"<string>\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://express-crm-gw.relateddigital.com/tokens","urlObject":{"protocol":"https","path":["tokens"],"host":["express-crm-gw","relateddigital","com"],"query":[],"variable":[]}},"response":[{"id":"9d7775bc-05cf-4905-9bb7-c28a32398981","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"clientName\": \"<string>\",\r\n  \"password\": \"<string>\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://express-crm-gw.relateddigital.com/tokens"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"tokenValue\": \"<string>\",\r\n  \"expireTime\": \"<DateTime>\",\r\n  \"roles\": [\r\n    \"<string>\"\r\n  ]\r\n}"},{"id":"b3d54f60-c120-42db-bde9-1ea3812aba05","name":"NotFound","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"clientName\": \"<string>\",\r\n  \"password\": \"<string>\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://express-crm-gw.relateddigital.com/tokens"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"<errorMessage>\"\n}"},{"id":"d8f84d0b-2710-4b2b-ab21-3368f0c8df52","name":"BadRequest","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"clientName\": \"<string>\",\r\n  \"password\": \"<string>\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://express-crm-gw.relateddigital.com/tokens"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"<errorMessage>\"\r\n}"},{"id":"7267c8eb-77bb-43e1-9f81-1f3aacaf1c17","name":"BadGateway","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"clientName\": \"<string>\",\r\n  \"password\": \"<string>\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://express-crm-gw.relateddigital.com/tokens"},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"<errorMessage>\"\n}"}],"_postman_id":"168054f4-0a6c-45e4-a52c-64d5ea8a8745"}],"id":"16fd1bd5-0114-45d1-aabf-48264e3b7834","_postman_id":"16fd1bd5-0114-45d1-aabf-48264e3b7834","description":""},{"name":"Accounts","item":[{"name":"accounts","id":"4077f7d6-3576-4eeb-ba8d-e390cd03ff95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://express-crm-gw.relateddigital.com/account?AccountId=<string>&PageNumber=<integer>&PageSize=<integer>","description":"<p>Son kullanıcıların <em>Express</em> sistemi üzerindeki bilgilerine erişilmek istendiği zaman kullanılacaktır.</p>\n<p><code>AccountId</code> opsiyone alandır. null veya boş string katarı değilse dikkate alınacaktır.</p>\n","urlObject":{"protocol":"https","path":["account"],"host":["express-crm-gw","relateddigital","com"],"query":[{"description":{"content":"<p>Son kullanıcıyı işaret eder</p>\n","type":"text/plain"},"key":"AccountId","value":"<string>"},{"description":{"content":"<p>0dan büyük değer olmalıdır. Varsayılan değer: 1</p>\n","type":"text/plain"},"key":"PageNumber","value":"<integer>"},{"description":{"content":"<p>0dan büyük değer olmalıdır. Varsayılan değer: 10</p>\n","type":"text/plain"},"key":"PageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"31fa390f-f3d4-49be-aa94-2991695c6521","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts?AccountId=<string>&Email=<string>&PageNumber=<integer>&PageSize=<integer>","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts"],"query":[{"key":"AccountId","value":"<string>"},{"key":"Email","value":"<string>"},{"key":"PageNumber","value":"<integer>"},{"key":"PageSize","value":"<integer>"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"totalCount\":\"<int>\",\n\t\"data\":[\n\t\t{\n\t\t\t\"accountId\": \"<string>\",\n\t\t\t\"email\": \"<string>\",\n\t\t\t\"companyName\": \"<string>\",\n\t\t\t\"companySiteAddress\": \"<string>\",\n\t\t\t\"firstName\": \"<string>\",\n\t\t\t\"lastName\": \"<string>\",\n\t\t\t\"emailVerified\":\"<bool>\"\n\t\t}\n\t]\n}"},{"id":"fd66161e-528c-4cf0-a784-b2ee4609f4c8","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts?AccountId=<string>&Email=<string>&PageNumber=<integer>&PageSize=<integer>","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts"],"query":[{"key":"AccountId","value":"<string>"},{"key":"Email","value":"<string>"},{"key":"PageNumber","value":"<integer>"},{"key":"PageSize","value":"<integer>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"9d6cdb41-c980-4bd8-9a34-a8eed4bf63e1","name":"Bad Request","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts?AccountId=<string>&Email=<string>&PageNumber=<integer>&PageSize=<integer>","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts"],"query":[{"key":"AccountId","value":"<string>"},{"key":"Email","value":"<string>"},{"key":"PageNumber","value":"<integer>"},{"key":"PageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n}"},{"id":"7d659992-70e7-42c3-97d0-bfde4cd0654f","name":"NotFound","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts?AccountId=<string>&Email=<string>&PageNumber=<integer>&PageSize=<integer>","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts"],"query":[{"key":"AccountId","value":"<string>"},{"key":"Email","value":"<string>"},{"key":"PageNumber","value":"<integer>"},{"key":"PageSize","value":"<integer>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n}"},{"id":"4fc55aa1-3ea7-4f6a-8cc2-1adc31d76a68","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts?AccountId=<string>&Email=<string>&PageNumber=<integer>&PageSize=<integer>","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts"],"query":[{"key":"AccountId","value":"<string>"},{"key":"Email","value":"<string>"},{"key":"PageNumber","value":"<integer>"},{"key":"PageSize","value":"<integer>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"4077f7d6-3576-4eeb-ba8d-e390cd03ff95"},{"name":"accounts","id":"132ddf65-fcf3-456e-9237-dd092ce7b033","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"<string>\",\n    \"password\": \"<string>\",\n    \"companyName\": \"<string>\",\n    \"companySiteAddress\": \"<string>\",\n    \"firstName\": \"<string>\",\n    \"lastName\": \"<string>\"\n}"},"url":"https://express-crm-gw.relateddigital.com/account","description":"<p>Son kullanıcıların <em>Express</em> sistemi üzerinde oluşturulması istendiği zaman İş ortağı tarafından bu end-point kullanılmalıdır.</p>\n<p><code>email</code> alanı zorunludur. Kullanıcılar için eşsiz (unique) değerler olmalıdır.</p>\n<p><code>password</code> alanı zorunludur. [8-20] karakter uzunluğunda, en az 1 sayı, 1 büyük harf ve 1 küçük harf içermelidir.</p>\n<p><code>companyName</code> alanı zorunludur. Firma adı bilgisi [1-100] karakter uzunluğunda olmalıdır.</p>\n<p><code>companySiteAddress</code>alanı zorunludur. Firmaya ait web adresi bilgisi [1-100] karakter uzunluğunda olmalıdır.</p>\n","urlObject":{"protocol":"https","path":["account"],"host":["express-crm-gw","relateddigital","com"],"query":[],"variable":[]}},"response":[{"id":"448f4d9f-b576-40e6-b807-609dd5f29d05","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"<string>\",\n    \"password\": \"<string>\",\n    \"companyName\": \"<string>\",\n    \"companySiteAddress\": \"<string>\",\n    \"firstName\": \"<string>\",\n    \"lastName\": \"<string>\"\n}"},"url":"https://express-crm-gw.relateddigital.com/accounts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"accountId\": \"<string>\",\n \"email\": \"<string>\",\n \"companyName\": \"<string>\",\n \"companySiteAddress\": \"<string>\",\n \"firstName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailVerified\":\"<bool>\"\n}"},{"id":"10594ac2-2b8e-40bd-8ca3-771732f284ac","name":"Conflict","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"<string>\",\n    \"password\": \"<string>\",\n    \"companyName\": \"<string>\",\n    \"companySiteAddress\": \"<string>\",\n    \"firstName\": \"<string>\",\n    \"lastName\": \"<string>\"\n}"},"url":"https://express-crm-gw.relateddigital.com/accounts"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n}"},{"id":"469047e6-62ce-4fa7-8f16-6415d4c23820","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"<string>\",\n    \"password\": \"<string>\",\n    \"companyName\": \"<string>\",\n    \"companySiteAddress\": \"<string>\",\n    \"firstName\": \"<string>\",\n    \"lastName\": \"<string>\"\n}"},"url":"https://express-crm-gw.relateddigital.com/accounts"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"66d5b207-0a33-4ed0-9007-18e45634a151","name":"Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"<string>\",\n    \"password\": \"<string>\",\n    \"companyName\": \"<string>\",\n    \"companySiteAddress\": \"<string>\",\n    \"firstName\": \"<string>\",\n    \"lastName\": \"<string>\"\n}"},"url":"https://express-crm-gw.relateddigital.com/accounts"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"94825f3e-de25-463a-90ec-64c2d41983c3","name":"Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"<string>\",\n    \"password\": \"<string>\",\n    \"companyName\": \"<string>\",\n    \"companySiteAddress\": \"<string>\",\n    \"firstName\": \"<string>\",\n    \"lastName\": \"<string>\"\n}"},"url":"https://express-crm-gw.relateddigital.com/accounts"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n}"}],"_postman_id":"132ddf65-fcf3-456e-9237-dd092ce7b033"}],"id":"1c0d1506-44dc-4f30-8498-3fa537d473c9","description":"<p>Son kullanıcıya ait veriler üzerinde işlem yapmak için kullanılacaktır.</p>\n","_postman_id":"1c0d1506-44dc-4f30-8498-3fa537d473c9"},{"name":"Subscriptions","item":[{"name":"accounts/{accountId}/subscriptions","id":"c738aeb9-62d8-492a-97e1-ae8bb359b833","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://express-crm-gw.relateddigital.com/subscription/:accountId?CatalogType=Bulk&SubscriptionStatus=<integer>&SubscriptionId=<string>","description":"<p>Son kullanıcıya ait abonelik bilgilerini talep etmek için kullanılmalıdır.</p>\n","urlObject":{"protocol":"https","path":["subscription",":accountId"],"host":["express-crm-gw","relateddigital","com"],"query":[{"key":"CatalogType","value":"Bulk"},{"key":"SubscriptionStatus","value":"<integer>"},{"key":"SubscriptionId","value":"<string>"}],"variable":[{"type":"any","value":null,"key":"accountId"}]}},"response":[{"id":"a546a027-7843-4e82-9106-aa373e061602","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/subscriptions","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","subscriptions"],"variable":[{"key":"accountId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalCount\": \"<integer>\",\n \"data\":[\n \t{\n \t\t\"subscriptionId\": \"<string>\",\n \t\t\"accountId\": \"<string>\",\n        \"startDate\": \"<date-time>\",\n        \"endDate\": \"<date-time>\",\n        \"subscriptionStatus\": \"<string>\",\n        \"subscriptionName\": \"<string>\",\n        \"memberQuota\": \"<integer>\",\n        \"emailQuota\": \"<integer>\"\n \t}\n \t]\n}"},{"id":"1acdbf57-0a92-4111-8766-d9ea4c18710f","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/subscriptions","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","subscriptions"],"variable":[{"key":"accountId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"62456108-fa39-490d-9e02-3e070a7bb5af","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/subscriptions","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","subscriptions"],"variable":[{"key":"accountId"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"e74af201-72cd-4179-9d71-ba2012ed1ad1","name":"Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/subscriptions","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","subscriptions"],"variable":[{"key":"accountId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n}"},{"id":"442ea4ba-221d-48e3-86db-4222ec5aecbd","name":"Bad Request","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/subscriptions","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","subscriptions"],"variable":[{"key":"accountId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n}"}],"_postman_id":"c738aeb9-62d8-492a-97e1-ae8bb359b833"},{"name":"accounts/{accountId}/subscription/{subscriptionId}/status","id":"51353a10-c734-408e-9c9a-0fae10fda769","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"subscriptionId\": \"<string>\",\n    \"subscriptionStatus\": \"<string>\"\n}"},"url":"https://express-crm-gw.relateddigital.com/subscription/status/:accountId","description":"<p>Son kullanıcıya ait abonelik bilgisinin durumu üzerinde değişiklik yapmak amacı ile kullanılacaktır.</p>\n<p>Kullanıcı paketini kullanmamış ve para iadesi talep ettiği durumda bu end-point kullanılacaktır. İstek içerisinde yer alan <code>subscriptionStatus</code> alanı <code>Cancelled</code> olarak talep iletilecektir. Eğer iade talebi kabul edilebilirse <code>2XX</code> statüsü ile dönüş yapılacaktır.</p>\n","urlObject":{"protocol":"https","path":["subscription","status",":accountId"],"host":["express-crm-gw","relateddigital","com"],"query":[],"variable":[{"id":"3a69afae-bb53-48f0-9f47-aeb33f0e6ea0","description":{"content":"<p>Son kullanıcıyı işaret eder</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"accountId"}]}},"response":[{"id":"05d468ba-22c4-471e-823b-275b50106b3d","name":"Forbidden","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"subscriptionStatus\": \"<string>\"\n}"},"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/subscriptions/:subscriptionId","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","subscriptions",":subscriptionId"],"variable":[{"key":"accountId"},{"key":"subscriptionId"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"1a820d23-23c5-41d4-895d-c4551b6f71d9","name":"Conflict","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"subscriptionStatus\": \"<string>\"\n}"},"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/subscriptions/:subscriptionId/status","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","subscriptions",":subscriptionId","status"],"variable":[{"id":"3a69afae-bb53-48f0-9f47-aeb33f0e6ea0","key":"accountId","value":"<string>","type":"string","description":"Son kullanıcıyı işaret eder"},{"id":"7d5c1721-b16b-4433-bc89-4b30db427c31","key":"subscriptionId","value":"<string>","type":"string","description":"Son kullanıcıya ait abonelik bilgisini işaret eder"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n}"},{"id":"26a87b2b-3eeb-4e41-9c03-231d2eb434c1","name":"Not Found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"subscriptionStatus\": \"<string>\"\n}"},"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/subscriptions/:subscriptionId","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","subscriptions",":subscriptionId"],"variable":[{"key":"accountId"},{"key":"subscriptionId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n}"},{"id":"4ab3dfd8-d053-4c6e-ad8d-e141d9900665","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"subscriptionStatus\": \"<string>\"\n}"},"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/subscriptions/:subscriptionId","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","subscriptions",":subscriptionId"],"variable":[{"key":"accountId"},{"key":"subscriptionId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \t\"subscriptionId\": \"<string>\",\n \t\"accountId\": \"<string>\",\n    \"startDate\": \"<date-time>\",\n    \"endDate\": \"<date-time>\",\n    \"subscriptionStatus\": \"<string>\",\n    \"subscriptionName\": \"<string>\",\n    \"memberQuota\": \"<integer>\",\n    \"emailQuota\": \"<integer>\"\n }"},{"id":"8470e438-d401-4bf6-bda3-7ce9db8fc374","name":"Unauthorized","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"subscriptionStatus\": \"<string>\"\n}"},"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/subscriptions/:subscriptionId","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","subscriptions",":subscriptionId"],"variable":[{"key":"accountId"},{"key":"subscriptionId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"a8faac95-a243-4d9a-98a6-eac1ed073751","name":"Bad Request","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"subscriptionStatus\": \"<string>\"\n}"},"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/subscriptions/:subscriptionId","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","subscriptions",":subscriptionId"],"variable":[{"key":"accountId"},{"key":"subscriptionId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n}"}],"_postman_id":"51353a10-c734-408e-9c9a-0fae10fda769"},{"name":"accounts/{accountId}/orders","id":"329590f5-2367-4943-a69b-608029b1032e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"productId\": \"<string>\",\n    \"correlationId\": \"<string>\"\n}"},"url":"https://express-crm-gw.relateddigital.com/subscription/:accountId","description":"<p>Son kullanıcı adına sipariş emri vermek için kullanılacaktır.</p>\n<p>Kullanıcının aboneliği yoksa, satın alma emri akabinde kullanıcıya bir abonelik oluşturulacaktır.</p>\n<p><strong>Not</strong>: Abonelik süreleri talep edilen ürüne göre değişiklik gösterebilmektedir.</p>\n<p>Eğer kullanıcının aboneliği varsa ve sipariş bilgisi içerisinde abone olunmuş üründen daha büyük bir ürüne ait bilgiler yer alıyorsa, bu işlem <code>upgrade</code> talebi olarak işleme alınır. Kullanıcının yeni paketine ait haklar mümkün olan en kısa sürede verilmek üzere işlem sırasına alınacaktır. Abonelik devam ederken yenileme amacıyla aynı ürün kodu ile veya daha küçük bir ürün kodu ile istek atılırsa, <code>Preconditinal Failed</code> hata kodu ile karşılaşılacaktır.</p>\n<p>Satın alma emri yürütüldükten sonra, kullanıcının haklarının son geçerlilik tarihinden sonra aynı ürün bilgileri ile bahsi geçen end-pointe istek atılarak abonelik yenileme (<code>renewal</code>) işlemi  yürütülebilir. Eğer daha küçük ürün veya daha büyük ürün bilgisi ile tetiklenecek olursa da <code>downgrade</code> veya <code>upgrade</code> işlemi yapılmış olunacaktır.</p>\n<p><code>productId</code> GET products end-pointi üzerinden elde edilen değerlerden biri gönderilmelidir.</p>\n<p><code>correlationId</code> Satın alma iş emrinin yalnız 1 defa yürütüldüğünü garanti altına almak için kullanılacaktır. İş Ortağı tarafından gönderilecek bu veri, her bir satın alma işlemi için eşsiz olmalıdır.  </p>\n","urlObject":{"protocol":"https","path":["subscription",":accountId"],"host":["express-crm-gw","relateddigital","com"],"query":[],"variable":[{"id":"1a2a83fa-a159-4091-a057-76eebf1014c0","description":{"content":"<p>Son kullanıcıyı işaret eder</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"accountId"}]}},"response":[{"id":"6be292f3-7d35-48aa-ae9a-0230e05a8912","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"productId\": \"<string>\",\n    \"correlationId\": \"<string>\"\n}"},"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/orders","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","orders"],"variable":[{"key":"accountId"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"accountId\": \"<string>\",\n \"packageId\": \"<string>\",\n \"expireDateTime\": \"<dateTime>\"\n}"},{"id":"ed67d2ff-3ef3-4622-a454-a7ef06a5337c","name":"Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"productId\": \"<string>\",\n    \"correlationId\": \"<string>\"\n}"},"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/orders","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","orders"],"variable":[{"key":"accountId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n}"},{"id":"b1737fe6-aa4b-4741-acf9-1ee41d9b2b74","name":"Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"productId\": \"<string>\",\n    \"correlationId\": \"<string>\"\n}"},"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/orders","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","orders"],"variable":[{"key":"accountId"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"ae877c8d-4d25-45a3-a41e-7ce8e280a6ab","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"productId\": \"<string>\",\n    \"correlationId\": \"<string>\"\n}"},"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/orders","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","orders"],"variable":[{"key":"accountId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"718edd8b-bb6f-455a-83d9-111f6e7a316f","name":"Conflict","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"productId\": \"<string>\",\n    \"correlationId\": \"<string>\"\n}"},"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/orders","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","orders"],"variable":[{"key":"accountId"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n}"},{"id":"41886293-2e8e-40ad-8a00-5f2ac14a4e71","name":"Precondition Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"productId\": \"<string>\",\n    \"correlationId\": \"<string>\"\n}"},"url":{"raw":"https://express-crm-gw.relateddigital.com/account/:accountId/orders","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["account",":accountId","orders"],"variable":[{"key":"accountId","value":"<string>","description":"Son kullanıcıyı işaret eder"}]}},"status":"Precondition Failed","code":412,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"<string>\"\n}"}],"_postman_id":"329590f5-2367-4943-a69b-608029b1032e"}],"id":"a9d6a57a-3d3a-457e-992e-385a76d3afb3","description":"<p>Subscription Statuses değerleri</p>\n<ul>\n<li>Active = 1</li>\n<li>Expired = 2</li>\n<li>Cancelled = 3</li>\n</ul>\n","_postman_id":"a9d6a57a-3d3a-457e-992e-385a76d3afb3"},{"name":"Products","item":[{"name":"products","id":"56460bb1-755d-4d10-9a77-471f3a06a4e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://express-crm-gw.relateddigital.com/product?ProductType=Bulk&ProductId=<string>","description":"<p>Sistemde yer alan, satışa uygun ürünlerin tespiti için kullanılmalıdır.</p>\n","urlObject":{"protocol":"https","path":["product"],"host":["express-crm-gw","relateddigital","com"],"query":[{"key":"ProductType","value":"Bulk"},{"key":"ProductId","value":"<string>"}],"variable":[]}},"response":[{"id":"1a573d38-26d9-415c-af90-26fc1b91e04b","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/products?ProductId=<string>&PageNumber=<integer>&PageSize=<integer>&SkippedItemCount=<integer>","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["products"],"query":[{"key":"ProductId","value":"<string>"},{"key":"PageNumber","value":"<integer>"},{"key":"PageSize","value":"<integer>"},{"key":"SkippedItemCount","value":"<integer>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"698cf1d1-606c-4f98-939d-11a7e0e8b5fc","name":"Bad Request","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/products?ProductId=<string>&PageNumber=<integer>&PageSize=<integer>&SkippedItemCount=<integer>","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["products"],"query":[{"key":"ProductId","value":"<string>"},{"key":"PageNumber","value":"<integer>"},{"key":"PageSize","value":"<integer>"},{"key":"SkippedItemCount","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n}"},{"id":"8f2e0ebb-4352-48ff-b380-737569b31d54","name":"Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/products?ProductId=<string>&PageNumber=<integer>&PageSize=<integer>&SkippedItemCount=<integer>","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["products"],"query":[{"key":"ProductId","value":"<string>"},{"key":"PageNumber","value":"<integer>"},{"key":"PageSize","value":"<integer>"},{"key":"SkippedItemCount","value":"<integer>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n}"},{"id":"a79bd8b6-2b08-4929-86ca-f7705c8c360d","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/products?ProductId=<string>&PageNumber=<integer>&PageSize=<integer>&SkippedItemCount=<integer>","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["products"],"query":[{"key":"ProductId","value":"<string>"},{"key":"PageNumber","value":"<integer>"},{"key":"PageSize","value":"<integer>"},{"key":"SkippedItemCount","value":"<integer>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"ceeb137f-22a5-46f5-b9b5-75a4794079bc","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/products?ProductId=<string>&PageNumber=<integer>&PageSize=<integer>&SkippedItemCount=<integer>","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["products"],"query":[{"key":"ProductId","value":"<string>"},{"key":"PageNumber","value":"<integer>"},{"key":"PageSize","value":"<integer>"},{"key":"SkippedItemCount","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalCount\": \"<integer>\",\n \"data\": [\n  {\n   \"productId\": \"<string>\",\n   \"memberQuota\": \"<integer>\",\n   \"emailQuota\": \"<integer>\",\n   \"period\": \"<string>\"\n  },\n  {\n   \"productId\": \"<string>\",\n   \"memberQuota\": \"<integer>\",\n   \"emailQuota\": \"<integer>\",\n   \"period\": \"<string>\"\n  }\n ]\n}"}],"_postman_id":"56460bb1-755d-4d10-9a77-471f3a06a4e7"}],"id":"60865b9a-f5a6-4f2f-bd50-9ac13db2a9c3","_postman_id":"60865b9a-f5a6-4f2f-bd50-9ac13db2a9c3","description":""},{"name":"Quota","item":[{"name":"accounts/{accountId}/quotas","id":"8fac26e8-b217-43d4-9c53-4eee18f39385","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://express-crm-gw.relateddigital.com/:accountId?QuotaStatus=<integer>&QuotaTypes=<integer>","description":"<p>Son kullanıcıya ait hakedişler ve kalan haklar bilgilerine erişim için kullanılacaktır.</p>\n<p>Kıstaslar ile talep edilen bilgiye ulaşım sağlanabilir.</p>\n","urlObject":{"protocol":"https","path":[":accountId"],"host":["express-crm-gw","relateddigital","com"],"query":[{"description":{"content":"<p>Kota değerinin durumuna göre filtrelemek için kullanılır. Varsayılan değer: null</p>\n","type":"text/plain"},"key":"QuotaStatus","value":"<integer>"},{"description":{"content":"<p>Kota değerinin tipine göre filtrelemek için kullanılır. Varsayılan değer: null</p>\n","type":"text/plain"},"key":"QuotaTypes","value":"<integer>"}],"variable":[{"id":"f3736365-0b61-415b-bb77-c9d7b3fe7a31","description":{"content":"<p>Son kullanıcıyı işaret eder</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"accountId"}]}},"response":[{"id":"9826945f-2e27-413b-b7c3-d70d97b8226f","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/subscriptions","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","subscriptions"],"variable":[{"key":"accountId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalCount\": \"<integer>\",\n \"data\":[\n \t{\n \t\t\"quotaId\": \"<string>\",\n        \"accountId\": \"<string>\",\n        \"initialQuota\": \"<integer>\",\n        \"currentQuota\": \"<integer>\",\n\t\t\"expireTime\": \"<date-time>\",\n        \"quotaType\": \"<integer>\",\n        \"quotaStatus\": \"<integer>\"\n \t}\n \t]\n}"},{"id":"4740a731-9fe6-4664-a61b-284a0b2b7678","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/subscriptions","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","subscriptions"],"variable":[{"key":"accountId"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"f836b4a1-c60e-4800-b74b-62c5db4dbb2c","name":"Bad Request","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/subscriptions","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","subscriptions"],"variable":[{"key":"accountId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n}"},{"id":"d8d6eebe-5a8f-4781-82dc-ddf368497511","name":"Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/subscriptions","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","subscriptions"],"variable":[{"key":"accountId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n}"},{"id":"78f763c4-39d0-4339-8f7d-2c8bc80f3564","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://express-crm-gw.relateddigital.com/accounts/:accountId/subscriptions","protocol":"https","host":["express-crm-gw","relateddigital","com"],"path":["accounts",":accountId","subscriptions"],"variable":[{"key":"accountId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"8fac26e8-b217-43d4-9c53-4eee18f39385"}],"id":"3f260193-c45b-45ed-bc70-5535df80c4d6","description":"<p>Quota Statuses değerleri</p>\n<ul>\n<li>Active = 1</li>\n<li>Expired = 2</li>\n</ul>\n<p>Quota Types değerleri</p>\n<ul>\n<li>Member = 1</li>\n<li>Email = 2</li>\n</ul>\n","_postman_id":"3f260193-c45b-45ed-bc70-5535df80c4d6"},{"name":"health-check","id":"691defca-00cb-40b0-9bc0-7b21aaf86a01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://express-crm-gw.relateddigital.com/health-check","urlObject":{"protocol":"https","path":["health-check"],"host":["express-crm-gw","relateddigital","com"],"query":[],"variable":[]}},"response":[{"id":"e4da406f-ae4c-4bf0-a3e2-55f0633c0dfb","name":"OK","originalRequest":{"method":"GET","header":[],"url":"https://express-crm-gw.relateddigital.com/health-check"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"9e26f168-27b3-492f-93c3-1c275c21973b","name":"InternalServerError","originalRequest":{"method":"GET","header":[],"url":"https://express-crm-gw.relateddigital.com/health-check"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"691defca-00cb-40b0-9bc0-7b21aaf86a01"}],"event":[{"listen":"prerequest","script":{"id":"278901a1-59f9-47f5-bfc1-45ba60aeb435","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"05fc2d1e-fd0c-430d-a0e9-71a392c8c2a5","type":"text/javascript","exec":[""]}}]}