Skip to content

Instantly share code, notes, and snippets.

Avatar

Ajie Hatajie ajiehatajie

  • JAKARTA
View GitHub Profile
View Payload Eclaim
{"msgId":"0db8e82a-b5f0-4a7f-8ff9-066348c85c6c","operation":"createClaim","token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJUZXN0LnB1bHNlMUB5b3BtYWlsLmNvbSIsImlzcyI6InBydWRlbnRpYWwiLCJwZXJtaXNzaW9ucyI6WyJhcHBVc2VyIl0sImlhdCI6MTU3NDIzMjkxMiwiZXhwIjoxNTc0MzE5MzEyfQ.jhPd0YEwDhBeF0mSzkiY7E48AxdxjAOW7W6Gs--f9-g","event":"initiateRequestOTP","body":{"admission":{"admissionDate":"2019-11-01","dischargeDate":"2019-11-02"},"treatmentType":"INPATIENT","bankAccount":{"bankCode":"ANZ","accountNo":"1508963288","accountName":"Jend Sudirman"},"policy":{"id":"LA::Pru::Policy::19123709"},"coverage":{"id":"LA::Pru::ProductComponentOption::19123709_01_01_02"},"lifeAssured":{"id":"LA::Pru::Customer::61232940"},"consentAccepted":true,"documents":[{"type":"CLAIMLOOSEMAIL","contentType":"application/pdf","content":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/w
View payload example 1 image
{"msgId":"f96f8967-1414-4888-a31c-ec1a202f8233","operation":"createClaim","token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJIYXphaW4uYWhhZHlAZ21haWwuY29tIiwiaXNzIjoicHJ1ZGVudGlhbCIsInBlcm1pc3Npb25zIjpbImFwcFVzZXIiXSwiaWF0IjoxNTczNzM5MzY5LCJleHAiOjE1NzM4MjU3Njl9.MMwudXcCH3H86bsuysWw4EGxK2Hpm9VkjiWYWMlwK04","event":"initiateRequestOTP","body":{"admission":{"admissionDate":"2019-11-01","dischargeDate":"2019-11-02"},"treatmentType":"INPATIENT","bankAccount":{"bankCode":"CITI01","accountNo":"41198706","accountName":"Iwak"},"policy":{"id":"LA::Pru::Policy::19884906"},"coverage":{"tempCoverage":[{"id":"LA::Pru::ProductComponentOption::19884906_1_1_2"}]},"lifeAssured":{"tempLifeAssured":[{"id":"LA::Pru::Customer::61171392"}]},"consentAccepted":true,"documents":[{"type":"CLAIMLOOSEMAIL","contentType":"application/pdf","content":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBA
View Model Post
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleReceiving.Repository.Object
{
public class SuratJalanRequestDto
{
public string taskName { get; set; } = "GR Unit Batching";
View Order.Model
public class BiayaItem
{
public string biayaType { get; set; }
public int biayaValue { get; set; }
}
public class OrderDTO
{
public string createdDate { get; set; }
@ajiehatajie
ajiehatajie / controller-swagger.js
Created Oct 12, 2018
controller adonisjs dengan swagger
View controller-swagger.js
'use strict'
const Ktp = use('App/Models/Ktp')
const Database = use('Database')
const { validate } = use('Validator')
class KtpController {
/**
* @swagger
View home.js
import React, { Component } from 'react'
import {
AppRegistry,
StyleSheet,
TouchableOpacity,
Linking,Text
} from 'react-native';
import { Container, Header, Title, Left, Icon, Right, Button, Body, Content, Card, CardItem } from "native-base";
@ajiehatajie
ajiehatajie / ubuntu setup.txt
Last active Jul 23, 2018
setting react native ubuntu 18.04
View ubuntu setup.txt
cd ~
curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt install nodejs
install watchman
sudo apt-get install -y autoconf automake build-essential python-dev libssl-dev libtool pkg-config
git clone https://github.com/facebook/watchman.git
cd watchman/
View app.js
import React, { Component } from 'react';
import { Text, StyleSheet,BackHandler,Alert,View,AsyncStorage,ActivityIndicator } from 'react-native';
import {
Scene,
Router,
Actions,
Reducer,
ActionConst,
Overlay,
Tabs,
View loginscreen.js
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import {
StyleSheet,View,TextInput,StatusBar,TouchableOpacity,Image,Alert,AsyncStorage
} from 'react-native'
import { Container, Header, Title,
Content, Footer, FooterTab, Button, Left, Right, Body,
Icon, Text,Item ,Input} from 'native-base';
import Api from '../services/Api';