chrys_bo

FBCLIENT | LMG

Nov 23rd, 2021
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 6.50 KB | None | 0 0
  1. {
  2.     "Login": {
  3.         "Empresa": "01",
  4.         "Filial": "0101",
  5.         "User": "admin"
  6.     },
  7.     "Content": {
  8.         "Models": [{
  9.             "StoreCode": "",
  10.             "ExternalCode": "",
  11.             "Name": "CHRYS TESTE",
  12.             "ShortName": null,
  13.             "IsProspect": false,
  14.             "PersonType": 1,
  15.             "CpfCnpj": "76483832095",
  16.             "PhoneDDI": null,
  17.             "PhoneDDD": "11",
  18.             "PhoneNumber": "975727275",
  19.             "WhattsAppNumber": "11587878848",
  20.             "WhatsAppDDD": "11",
  21.             "WhatsAppPhoneNumber": "587878848",
  22.             "PhoneContactName": "CHRYS TESTE",
  23.             "StateInscription": "325656556",
  24.             "CityInscription": null,
  25.             "TaxGroup": null,
  26.             "TaxCode": null,
  27.             "Taxpayer": false,
  28.             "DefaultInvoiceMessage": null,
  29.             "Observation": null,
  30.             "Email": "chrystian.batista@hotmail.com",
  31.             "IsSameAddressToInvoice": false,
  32.             "IsActive": true,
  33.             "LastPurchase": null,
  34.             "CreditLimit": 0.0,
  35.             "CreditLimitDueDate": null,
  36.             "Risk": null,
  37.             "LastOrder": null,
  38.             "DateLastOrder": null,
  39.             "LastBudget": null,
  40.             "DateLastBudget": null,
  41.             "SellerLastOrder": null,
  42.             "SellerLastBudget": null,
  43.             "AddressId": 7543,
  44.             "Address": {
  45.                 "CEP": "03358130",
  46.                 "Street": "Rua Asfaltite",
  47.                 "Number": "173",
  48.                 "Complement": null,
  49.                 "Neighborhood": "Vila Formosa",
  50.                 "Place": null,
  51.                 "Ddd": null,
  52.                 "Phone": null,
  53.                 "ExternalCode": null,
  54.                 "ExtensionData": null,
  55.                 "CityId": 3793,
  56.                 "City": {
  57.                     "Name": "SAO PAULO",
  58.                     "ExternalCode": "SP50308",
  59.                     "StateId": 27,
  60.                     "State": {
  61.                         "Name": "SAO PAULO",
  62.                         "Acronym": "SP",
  63.                         "ExternalCode": "SP",
  64.                         "CountryId": 1,
  65.                         "CountryExternalCode": null,
  66.                         "IsDeleted": false,
  67.                         "Id": 27
  68.                     },
  69.                     "StateExternalCode": "SP",
  70.                     "IsDeleted": false,
  71.                     "Id": 3793
  72.                 },
  73.                 "State": null,
  74.                 "CityName": null,
  75.                 "CityExternalCode": "SP50308",
  76.                 "IsDeleted": false,
  77.                 "Id": 7543
  78.             },
  79.             "BusinessInformation": null,
  80.             "BillingAddressId": null,
  81.             "BillingAddress": null,
  82.             "DeliveryAddressId": null,
  83.             "DeliveryAddress": null,
  84.             "CarrierId": null,
  85.             "Carrier": null,
  86.             "CarrierExternalCode": null,
  87.             "ClientTypeId": 1,
  88.             "ClientType": {
  89.                 "Name": "Cons. Final",
  90.                 "ExternalCode": "F",
  91.                 "IsDeleted": false,
  92.                 "Id": 1
  93.             },
  94.             "ClientTypeExternalCode": "F",
  95.             "SellerId": 1,
  96.             "Seller": {
  97.                 "Name": "Pro Estetica Treinam.e Locacoes Lt-epp",
  98.                 "Email": "jussara@lmglasers.com.br",
  99.                 "Phone": null,
  100.                 "ExternalCode": "000001",
  101.                 "ExtensionData": null,
  102.                 "CompanyId": 1,
  103.                 "SubsidiaryId": null,
  104.                 "CompanyExternalCode": "01",
  105.                 "SubsidiaryExternalCode": null,
  106.                 "CustomFields": null,
  107.                 "IsActive": true,
  108.                 "IsDeleted": false,
  109.                 "Id": 1
  110.             },
  111.             "SellerExternalCode": "000001",
  112.             "PriceTableId": null,
  113.             "PriceTable": null,
  114.             "PriceTableExternalCode": null,
  115.             "PaymentTypeId": null,
  116.             "PaymentType": null,
  117.             "PaymentTypeExternalCode": null,
  118.             "ShippingTypeId": null,
  119.             "ShippingType": null,
  120.             "ShippingTypeExternalCode": null,
  121.             "ClientSegmentId": null,
  122.             "ClientSegment": null,
  123.             "ClientSegmentExternalCode": null,
  124.             "ClientSegment2Id": null,
  125.             "ClientSegment2": null,
  126.             "ClientSegment2ExternalCode": null,
  127.             "ClientCnaeId": null,
  128.             "ClientCnae": null,
  129.             "ClientCnaeExternalCode": null,
  130.             "ClientGroupId": 5,
  131.             "ClientGroup": {
  132.                 "Name": "CLIENTES PARCEIROS",
  133.                 "ExternalCode": "505",
  134.                 "IsActive": true,
  135.                 "ClientGroupImages": [],
  136.                 "CompanyId": 1,
  137.                 "SubsidiaryId": null,
  138.                 "FilterCompanySubsidiary": null,
  139.                 "Id": 5
  140.             },
  141.             "ClientGroupExternalCode": "505",
  142.             "ClientRegionId": null,
  143.             "ClientRegion": null,
  144.             "ClientRegionExternalCode": null,
  145.             "ClientCostCenterId": null,
  146.             "ClientCostCenter": null,
  147.             "ClientCostCenterExternalCode": null,
  148.             "ClientNatureId": null,
  149.             "ClientNature": null,
  150.             "ClientNatureExternalCode": null,
  151.             "ClientContacts": [{
  152.                 "Name": "CHRYSTIAN OLIVEIRA",
  153.                 "Cpf": "06074756848",
  154.                 "Email": "chrystian.batista@hotmail.com",
  155.                 "PhoneDDD": "11",
  156.                 "PhoneNumber": "975722555",
  157.                 "IsActive": true,
  158.                 "ClientId": 5583,
  159.                 "ClientExternalCode": "",
  160.                 "ClientStoreCode": "",
  161.                 "ClientContactOfficeId": null,
  162.                 "ClientContactOffice": null,
  163.                 "ClientContactOfficeExternalCode": null,
  164.                 "CompanyId": 1,
  165.                 "CompanyExternalCode": "01",
  166.                 "SubsidiaryId": 1,
  167.                 "SubsidiaryExternalCode": "0101",
  168.                 "ExternalCode": "",
  169.                 "PatrimonyValue": 1231.23,
  170.                 "MonthlyIncome": 1231.23,
  171.                 "MotherName": "CHRYSTIAN OLIVEIRA",
  172.                 "BirthDate": "1964-09-25T03:00:00Z",
  173.                 "MaritalStatus": 2,
  174.                 "SpouseName": "CHRYSTIAN OLIVEIRA",
  175.                 "SpouseCPF": "06598989898",
  176.                 "JobOccupation": "ANALISTA",
  177.                 "StateInscription": "99895565659",
  178.                 "CityInscription": "TESTE",
  179.                 "PersonType": 1,
  180.                 "NaturalnessCityName": "São Paulo",
  181.                 "NaturalnessStateName": "SP",
  182.                 "AddressId": 7544,
  183.                 "Address": {
  184.                     "CEP": "03360070",
  185.                     "Street": "Rua São Ticiano",
  186.                     "Number": null,
  187.                     "Complement": "173",
  188.                     "Neighborhood": "Vila Formosa",
  189.                     "Place": null,
  190.                     "Ddd": null,
  191.                     "Phone": null,
  192.                     "ExternalCode": null,
  193.                     "ExtensionData": null,
  194.                     "CityId": 3793,
  195.                     "City": {
  196.                         "Name": "SAO PAULO",
  197.                         "ExternalCode": "SP50308",
  198.                         "StateId": 27,
  199.                         "State": {
  200.                             "Name": "SAO PAULO",
  201.                             "Acronym": "SP",
  202.                             "ExternalCode": "SP",
  203.                             "CountryId": 1,
  204.                             "CountryExternalCode": null,
  205.                             "IsDeleted": false,
  206.                             "Id": 27
  207.                         },
  208.                         "StateExternalCode": "SP",
  209.                         "IsDeleted": false,
  210.                         "Id": 3793
  211.                     },
  212.                     "State": null,
  213.                     "CityName": null,
  214.                     "CityExternalCode": "SP50308",
  215.                     "IsDeleted": false,
  216.                     "Id": 7544
  217.                 },
  218.                 "Id": 97
  219.             }],
  220.             "Suframa": null,
  221.             "SuframaCalc": null,
  222.             "FilterCompanySubsidiary": null,
  223.             "CompanyId": 1,
  224.             "CompanyExternalCode": "01",
  225.             "SubsidiaryId": 1,
  226.             "SubsidiaryExternalCode": "0101",
  227.             "ExportedTime": null,
  228.             "CustomFields": null,
  229.             "CityName": null,
  230.             "StateAcronym": null,
  231.             "IsExist": false,
  232.             "IsDeleted": false,
  233.             "ReleasedUntil": null,
  234.             "ReleasedUntildate": null,
  235.             "ReleasedUntilnow": null,
  236.             "SintegraWsId": null,
  237.             "Sintegra": null,
  238.             "ProspectId": null,
  239.             "Prospect": null,
  240.             "RegionManager": null,
  241.             "FilterSubsidiaryForeignTables": null,
  242.             "Class": null,
  243.             "Id": 5583
  244.         }]
  245.     }
  246. }
  247.  
  248. //RETORNO
  249. {
  250.   "statusCode": 200,
  251.   "logs": [
  252.     {}
  253.   ],
  254.   "content": {
  255.     "models": {
  256.       "Company": "01",
  257.       "branch": "    ",
  258.       "ClientID": "A00070",
  259.       "ClientStore": "0001"
  260.     }
  261.   }
  262. }
Add Comment
Please, Sign In to add comment